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
ifstrings.Contains(err.Error(), "Resource not found") ||
328
+
strings.Contains(err.Error(), "No server with a name or ID") ||
329
+
strings.Contains(err.Error(), "404") {
330
+
returnfalse, fmt.Errorf("instance ID '%s' not found in the OpenStack environment. Please verify the instance ID and ensure the credentials are for the correct OpenStack environment", instanceID)
331
+
}
332
+
returnfalse, fmt.Errorf("failed to verify instance access: %w. Please check if the provided credentials have compute:get_server permission", err)
333
+
}
334
+
returntrue, nil
335
+
}
336
+
287
337
// PostValidationResources holds resources fetched after successful validation
0 commit comments