Merge pull request #4609 from 0xmohit/patch-1

drivers/softlayer: don't set the request method again
This commit is contained in:
David Gageot
2019-01-13 08:52:56 +01:00
committed by GitHub
-1
View File
@@ -114,7 +114,6 @@ func (c *Client) newRequest(method, uri string, body interface{}) ([]byte, error
}
req.SetBasicAuth(c.User, c.ApiKey)
req.Method = method
resp, err := client.Do(req)
if err != nil {