Merge pull request #4609 from 0xmohit/patch-1
drivers/softlayer: don't set the request method again
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user