Very minor change needed to realign with the updated Azure SDK

This commit is contained in:
Sander van Harmelen 2015-05-29 10:17:43 +02:00
parent cef8259923
commit 08dd7dece9
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ func resourceAzureDataDiskUpdate(d *schema.ResourceData, meta interface{}) error
if d.HasChange("size") {
p := virtualmachinedisk.UpdateDiskParameters{
DiskName: d.Id(),
Name: d.Id(),
Label: d.Get("label").(string),
ResizedSizeInGB: d.Get("size").(int),
}