Skip to content

Commit

Permalink
Use constant instead of string "Manual"
Browse files Browse the repository at this point in the history
  • Loading branch information
bentito committed Jun 27, 2023
1 parent 80cd83c commit a3b71ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/operator/utils/utils.go
Expand Up @@ -84,7 +84,7 @@ func IsTimedTokenCluster(c client.Client, ctx context.Context, logger log.FieldL
logger.WithError(err).Error("error loading CCO configuration to determine mode")
return false, err
}
if credentialsMode != "Manual" {
if credentialsMode != operatorv1.CloudCredentialsModeManual {
return false, nil
}
authConfig, err := GetAuth(ctx, c)
Expand Down

0 comments on commit a3b71ca

Please sign in to comment.