Skip to content

Commit

Permalink
correct the message (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanposhiho authored Mar 28, 2024
1 parent 4a8300c commit 2125c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/recommender/recommender.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ func (s *Service) calculateBestNewSize(
// So, we just keep the current resource request
// until the replica number goes lower
// because scaling down the resource request might increase the replica number further more.
return resourceRequest.MilliValue(), "the current number of replicas is more than the preferred max replica number in this cluster, so nothing to do", nil
return resourceRequest.MilliValue(), fmt.Sprintf("the current number of replicas is close to the preferred max replica number in this cluster, so keep the current resource request in %s in %s", k, containerName), nil
}

if replicaNum <= s.minimumMinReplicas {
Expand Down

0 comments on commit 2125c80

Please sign in to comment.