Skip to content

Commit

Permalink
remove old debug println statements (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-ruth authored Sep 17, 2020
1 parent 420a8ce commit 0776e19
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/Ouest-France/gofortiadc

go 1.12
go 1.14
1 change: 0 additions & 1 deletion loadbalance_content_rewriting.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion loadbalance_content_rewriting_condition.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion loadbalance_content_routing.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion loadbalance_content_routing_condition.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion loadbalance_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion loadbalance_pool_member.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion loadbalance_real_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion loadbalance_virtual_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion system_certificate_local_group_member.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0776e19

Please sign in to comment.