Skip to content

Commit

Permalink
Merge pull request #505 from Fedosin/fix_unsupported_downgrade_message
Browse files Browse the repository at this point in the history
馃悰 Fix unsupportedProviderDowngradeMessage message
  • Loading branch information
k8s-ci-robot committed Apr 30, 2024
2 parents 3c01964 + 0c2a3fd commit 1e93d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/preflight_checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func checkProviderVersion(ctx context.Context, providerVersion string, provider
operatorv1.PreflightCheckCondition,
operatorv1.UnsupportedProviderDowngradeReason,
clusterv1.ConditionSeverityError,
fmt.Sprintf(unsupportedProviderDowngradeMessage, provider.GetName(), configclient.ClusterAPIProviderName),
fmt.Sprintf(unsupportedProviderDowngradeMessage, provider.GetName()),
))

return fmt.Errorf("downgrade is not supported for provider %q", provider.GetName())
Expand Down

0 comments on commit 1e93d52

Please sign in to comment.