diff --git a/go.mod b/go.mod index d978266..0fbb06b 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/Ouest-France/gofortiadc -go 1.12 +go 1.14 diff --git a/loadbalance_content_rewriting.go b/loadbalance_content_rewriting.go index 21c094c..38718c4 100644 --- a/loadbalance_content_rewriting.go +++ b/loadbalance_content_rewriting.go @@ -165,7 +165,6 @@ func (c *Client) LoadbalanceUpdateContentRewriting(cr LoadbalanceContentRewritin if err != nil { return err } - fmt.Println(string(body)) resJSON := struct{ Payload int }{} err = json.Unmarshal(body, &resJSON) diff --git a/loadbalance_content_rewriting_condition.go b/loadbalance_content_rewriting_condition.go index 266a29c..c670943 100644 --- a/loadbalance_content_rewriting_condition.go +++ b/loadbalance_content_rewriting_condition.go @@ -219,7 +219,6 @@ func (c *Client) LoadbalanceUpdateContentRewritingCondition(cr string, rd Loadba if err != nil { return err } - fmt.Println(string(body)) resJSON := struct{ Payload int }{} err = json.Unmarshal(body, &resJSON) diff --git a/loadbalance_content_routing.go b/loadbalance_content_routing.go index dfbb950..150992e 100644 --- a/loadbalance_content_routing.go +++ b/loadbalance_content_routing.go @@ -168,7 +168,6 @@ func (c *Client) LoadbalanceUpdateContentRouting(rs LoadbalanceContentRouting) e if err != nil { return err } - fmt.Println(string(body)) resJSON := struct{ Payload int }{} err = json.Unmarshal(body, &resJSON) diff --git a/loadbalance_content_routing_condition.go b/loadbalance_content_routing_condition.go index 87ede1b..416cb5e 100644 --- a/loadbalance_content_routing_condition.go +++ b/loadbalance_content_routing_condition.go @@ -215,7 +215,6 @@ func (c *Client) LoadbalanceUpdateContentRoutingCondition(cr string, rs Loadbala if err != nil { return err } - fmt.Println(string(body)) resJSON := struct{ Payload int }{} err = json.Unmarshal(body, &resJSON) diff --git a/loadbalance_pool.go b/loadbalance_pool.go index 02d645a..c2f52e9 100644 --- a/loadbalance_pool.go +++ b/loadbalance_pool.go @@ -161,7 +161,6 @@ func (c *Client) LoadbalanceUpdatePool(pool LoadbalancePool) error { if err != nil { return err } - fmt.Println(string(body)) resJSON := struct{ Payload int }{} err = json.Unmarshal(body, &resJSON) diff --git a/loadbalance_pool_member.go b/loadbalance_pool_member.go index 3f563ef..2b8989a 100644 --- a/loadbalance_pool_member.go +++ b/loadbalance_pool_member.go @@ -216,7 +216,6 @@ func (c *Client) LoadbalanceUpdatePoolMember(pool, mkey string, member Loadbalan if err != nil { return err } - fmt.Println(string(body)) resJSON := struct{ Payload int }{} err = json.Unmarshal(body, &resJSON) diff --git a/loadbalance_real_server.go b/loadbalance_real_server.go index bebcd12..82890a8 100644 --- a/loadbalance_real_server.go +++ b/loadbalance_real_server.go @@ -156,7 +156,6 @@ func (c *Client) LoadbalanceUpdateRealServer(rs LoadbalanceRealServer) error { if err != nil { return err } - fmt.Println(string(body)) res := struct{ Payload int }{} err = json.Unmarshal(body, &res) diff --git a/loadbalance_virtual_server.go b/loadbalance_virtual_server.go index 58706e0..cd20cb6 100644 --- a/loadbalance_virtual_server.go +++ b/loadbalance_virtual_server.go @@ -205,7 +205,6 @@ func (c *Client) LoadbalanceUpdateVirtualServer(vs LoadbalanceVirtualServer) err if err != nil { return err } - fmt.Println(string(body)) resJSON := struct{ Payload int }{} err = json.Unmarshal(body, &resJSON) diff --git a/system_certificate_local_group_member.go b/system_certificate_local_group_member.go index 184d5fb..cf1732c 100644 --- a/system_certificate_local_group_member.go +++ b/system_certificate_local_group_member.go @@ -139,7 +139,6 @@ func (c *Client) SystemUpdateLocalCertificateGroupMember(group, mkey string, lcg if err != nil { return err } - fmt.Println(string(body)) resJSON := struct{ Payload int }{} err = json.Unmarshal(body, &resJSON)