check error
This commit is contained in:
parent
9bd19df040
commit
3fdab998f8
|
@ -62,7 +62,9 @@ func GetVirtualMachineDeployment(config *Config) (*resources.Deployment, error)
|
|||
}
|
||||
|
||||
if len(config.UserAssignedManagedIdentities) != 0 {
|
||||
builder.SetIdentity(config.UserAssignedManagedIdentities)
|
||||
if err := builder.SetIdentity(config.UserAssignedManagedIdentities); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
if config.ImageUrl != "" {
|
||||
|
|
Loading…
Reference in New Issue