From 2125c8089d68e92ddb5a3b129f08e0895232af34 Mon Sep 17 00:00:00 2001 From: Kensei Nakada Date: Thu, 28 Mar 2024 11:51:36 +0900 Subject: [PATCH] correct the message (#394) --- pkg/recommender/recommender.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/recommender/recommender.go b/pkg/recommender/recommender.go index 990ee0a7..638c8615 100644 --- a/pkg/recommender/recommender.go +++ b/pkg/recommender/recommender.go @@ -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 {