delete debug print
This commit is contained in:
parent
9fa99118d5
commit
3b4c0f49d4
@ -50,7 +50,6 @@ func (p Proxy) execute(c command) (string, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
requestURL := fmt.Sprintf("http://%s:%d/command", p.url.Addr().String(), p.url.Port())
|
requestURL := fmt.Sprintf("http://%s:%d/command", p.url.Addr().String(), p.url.Port())
|
||||||
fmt.Println(requestURL)
|
|
||||||
bodyReader := bytes.NewReader(data)
|
bodyReader := bytes.NewReader(data)
|
||||||
|
|
||||||
res, err := http.DefaultClient.Post(requestURL, "application/json", bodyReader)
|
res, err := http.DefaultClient.Post(requestURL, "application/json", bodyReader)
|
||||||
|
Loading…
Reference in New Issue
Block a user