Corrected variable reference

This is a pointer.
This commit is contained in:
André Cruz 2017-03-10 14:35:27 +00:00 committed by GitHub
parent a2716f76db
commit 91db3e175d
1 changed files with 1 additions and 1 deletions

View File

@ -786,7 +786,7 @@ func testLookupAzureRMVirtualMachineManagedDiskID(vm *compute.VirtualMachine, di
}
}
return fmt.Errorf("Unable to locate disk %s on vm %s", diskName, vm.Name)
return fmt.Errorf("Unable to locate disk %s on vm %s", diskName, *vm.Name)
}
}