Skip to content

Commit

Permalink
chore(AwsRedisInstance): update error msg (#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
dushanpantic authored Nov 26, 2024
1 parent 670abe5 commit c9b04f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/skr/awsredisinstance/modifyKcpRedisInstance.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func modifyKcpRedisInstance(ctx context.Context, st composed.State) (error, cont
cacheNodeType, err := redisTierToCacheNodeTypeConvertor(awsRedisInstance.Spec.RedisTier)

if err != nil {
errMsg := "failed to map redisTier to tier and memorySizeGb"
errMsg := "failed to map redisTier to cacheNodeType"
logger.Error(err, errMsg, "redisTier", awsRedisInstance.Spec.RedisTier)
awsRedisInstance.Status.State = cloudresourcesv1beta1.StateError
return composed.UpdateStatus(awsRedisInstance).
Expand Down

0 comments on commit c9b04f2

Please sign in to comment.