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:
parent
219d6e534f
commit
da4e7753e7
|
@ -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.")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue