Skip to content

Commit

Permalink
Merge pull request #22 from NetApp/fix
Browse files Browse the repository at this point in the history
Update volume.go
  • Loading branch information
wenjun666 authored Nov 12, 2020
2 parents 8a2ccdb + b047db7 commit 3756897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcp/volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ func (c *Client) createVolumeCreationToken(request volumeRequest) (volumeResult,
baseURL := fmt.Sprintf("%s/VolumeCreationToken", request.Region)
log.Printf("Parameters: %v", params)

statusCode, response, err := c.CallAPIMethod("POST", baseURL, params)
statusCode, response, err := c.CallAPIMethod("GET", baseURL, params)
if err != nil {
log.Print("CreationToken request failed")
return volumeResult{}, err
Expand Down

0 comments on commit 3756897

Please sign in to comment.