Skip to content

Commit

Permalink
provider/azure: fix build after upstream breaking change
Browse files Browse the repository at this point in the history
This adds the empty argument necessary for PutPageBlob to compile.

Azure/azure-sdk-for-go#257
  • Loading branch information
phinze committed Jan 25, 2016
1 parent 219d6e5 commit da4e775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/providers/azure/resource_azure_storage_blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func resourceAzureStorageBlobCreate(d *schema.ResourceData, meta interface{}) er
err = blobClient.CreateBlockBlob(cont, name)
case "PageBlob":
size := int64(d.Get("size").(int))
err = blobClient.PutPageBlob(cont, name, size)
err = blobClient.PutPageBlob(cont, name, size, map[string]string{})
default:
err = fmt.Errorf("Invalid blob type specified; see parameter desciptions for more info.")
}
Expand Down

0 comments on commit da4e775

Please sign in to comment.