We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eb63cd commit c74563aCopy full SHA for c74563a
provider/vsphere/errors.go
@@ -48,6 +48,9 @@ func IsAuthorisationFailure(err error) bool {
48
// HandleCredentialError marks the current credential as invalid if
49
// the passed vsphere error indicates it should be.
50
func HandleCredentialError(err error, env *sessionEnviron, ctx context.ProviderCallContext) {
51
+ if err == nil {
52
+ return
53
+ }
54
// LP #1849194: fell into a situation where we can either have an invalid
55
// credential OR user issued a VM spec that has no rights to, e.g. on a
56
// Resource Pool that it has no permissions on using "zone" on add-machine.
0 commit comments