Commit 7c5bd371 authored by Mohit Agarwal's avatar Mohit Agarwal

drivers/softlayer: don't set the request method again

It would be set by the request returned by http.NewRequest.
Signed-off-by: Mohit Agarwal's avatarMohit Agarwal <[email protected]>
parent 821e8c76
......@@ -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