Update for breaking change to Azure library.
vmImageClient.ListVirtualMachineImages takes a parameter as of 68d50cb53a73edfeb7f17f5e86cdc8eb359a9528 in Azure/azure-sdk-for-go . Passing in a parameters object whose members are all empty strings seems to restore the previous behavior.
This commit is contained in:
parent
0f588fcc53
commit
e25a0cafa2
|
@ -682,7 +682,7 @@ func retrieveImageDetails(
|
|||
func retrieveVMImageDetails(
|
||||
vmImageClient virtualmachineimage.Client,
|
||||
label string) (func(*virtualmachine.Role) error, string, []string, error) {
|
||||
imgs, err := vmImageClient.ListVirtualMachineImages()
|
||||
imgs, err := vmImageClient.ListVirtualMachineImages(virtualmachineimage.ListParameters{})
|
||||
if err != nil {
|
||||
return nil, "", nil, fmt.Errorf("Error retrieving image details: %s", err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue