This is an automated email from the ASF dual-hosted git repository.

weichiu pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5691c2d5a4 AMBARI-25598. Fix parameter error in the toString() of the 
ServiceComponentRequest file.(743294668)(THOMAS TAO) (#3270)
5691c2d5a4 is described below

commit 5691c2d5a41c2bffc85b4f5871df23f4bf478714
Author: 743294668 <[email protected]>
AuthorDate: Sat Apr 19 09:47:41 2025 +0800

    AMBARI-25598. Fix parameter error in the toString() of the 
ServiceComponentRequest file.(743294668)(THOMAS TAO) (#3270)
    
    Co-authored-by: taoyuxin <[email protected]>
---
 .../org/apache/ambari/server/controller/ServiceComponentRequest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/ServiceComponentRequest.java
 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/ServiceComponentRequest.java
index 3a65ff8a64..1cb73d60a8 100644
--- 
a/ambari-server/src/main/java/org/apache/ambari/server/controller/ServiceComponentRequest.java
+++ 
b/ambari-server/src/main/java/org/apache/ambari/server/controller/ServiceComponentRequest.java
@@ -137,6 +137,6 @@ public class ServiceComponentRequest {
   @Override
   public String toString() {
     return String.format("[clusterName=%s, serviceName=%s, componentName=%s, 
desiredState=%s, recoveryEnabled=%s, componentCategory=%s]",
-        clusterName, serviceName, clusterName, desiredState, recoveryEnabled, 
componentCategory);
+        clusterName, serviceName, componentName, desiredState, 
recoveryEnabled, componentCategory);
   }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to