Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions pkg/asset/installconfig/openstack/validation/cloudinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,11 @@ func (ci *CloudInfo) collectInfo(ic *types.InstallConfig, opts *clientconfig.Cli
if err != nil {
if isUnauthorized(err) {
logrus.Warnf("Missing permissions to fetch Quotas and therefore will skip checking them: %v", err)
return nil
}
if isNotFoundError(err) {
} else if isNotFoundError(err) {
logrus.Warnf("Quota API is not available and therefore will skip checking them: %v", err)
return nil
} else {
return errors.Wrap(err, "failed to load Quota")
}
return errors.Wrap(err, "failed to load Quota")
}

ci.NetworkExtensions, err = networkextensions.Get(ci.clients.networkClient)
Expand Down