mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-13 07:46:43 +00:00
debug
This commit is contained in:
@@ -149,7 +149,7 @@ func (pool *ResourcePool) acquireNetwork() string {
|
||||
}
|
||||
v := url.Values{}
|
||||
v.Set("name", network)
|
||||
resp, err := doRequest("POST", "http://yao-agent-master:8000/network_create", strings.NewReader(v.Encode()), "application/x-www-form-urlencoded", "")
|
||||
resp, err := doRequest("POST", "http://yao-agent-master:8000/create", strings.NewReader(v.Encode()), "application/x-www-form-urlencoded", "")
|
||||
fmt.Print(resp, err)
|
||||
if err != nil {
|
||||
log.Println(err.Error())
|
||||
|
||||
Reference in New Issue
Block a user