You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
allErrs=append(allErrs, field.Invalid(fldPath, new, "Role assignment name must be a valid GUID. It is optional and will be auto-generated when not specified."))
54
+
}
55
+
ifold!=""&&old!=new {
56
+
allErrs=append(allErrs, field.Invalid(fldPath, new, "Role assignment name should not be modified after AzureMachine creation."))
57
+
}
58
+
} elseiflen(new) !=0 {
59
+
allErrs=append(allErrs, field.Forbidden(fldPath, "Role assignment name should only be set when using system assigned identity."))
60
+
}
61
+
62
+
returnallErrs
63
+
}
64
+
46
65
// ValidateUserAssignedIdentity validates the user-assigned identities list
0 commit comments