provider/azure: fix build after upstream breaking change

This adds the empty argument necessary for PutPageBlob to compile.

https://github.com/Azure/azure-sdk-for-go/pull/257
This commit is contained in:
Paul Hinze 2016-01-25 16:19:01 -06:00
parent 219d6e534f
commit da4e7753e7
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ func resourceAzureStorageBlobCreate(d *schema.ResourceData, meta interface{}) er
err = blobClient.CreateBlockBlob(cont, name) err = blobClient.CreateBlockBlob(cont, name)
case "PageBlob": case "PageBlob":
size := int64(d.Get("size").(int)) size := int64(d.Get("size").(int))
err = blobClient.PutPageBlob(cont, name, size) err = blobClient.PutPageBlob(cont, name, size, map[string]string{})
default: default:
err = fmt.Errorf("Invalid blob type specified; see parameter desciptions for more info.") err = fmt.Errorf("Invalid blob type specified; see parameter desciptions for more info.")
} }