Unverified Commit d3f89ca7 authored by David Gageot's avatar David Gageot Committed by GitHub

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

drivers/softlayer: don't set the request method again
parents 70d89435 7c5bd371
......@@ -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 {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment