Corrected error message

This commit is contained in:
Brandon Tosch 2017-03-14 12:07:02 -07:00
parent e94c1f7559
commit 4294754456
1 changed files with 1 additions and 1 deletions

View File

@ -730,7 +730,7 @@ func resourceArmVirtualMachineDelete(d *schema.ResourceData, meta interface{}) e
for _, disk := range disks {
if disk.Vhd != nil {
if err = resourceArmVirtualMachineDeleteVhd(*disk.Vhd.URI, meta); err != nil {
return fmt.Errorf("Error deleting Data Managed Disk: %s", err)
return fmt.Errorf("Error deleting Data Disk VHD: %s", err)
}
} else if disk.ManagedDisk != nil {
if err = resourceArmVirtualMachineDeleteManagedDisk(*disk.ManagedDisk.ID, meta); err != nil {