Skip to content

Commit 5691c2d

Browse files
743294668taoyuxin
andauthored
AMBARI-25598. Fix parameter error in the toString() of the ServiceComponentRequest file.(743294668)(THOMAS TAO) (#3270)
Co-authored-by: taoyuxin <taoyuxin@inspur.com>
1 parent c91fa77 commit 5691c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ambari-server/src/main/java/org/apache/ambari/server/controller/ServiceComponentRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,6 @@ public void setComponentCategory(String componentCategory) {
137137
@Override
138138
public String toString() {
139139
return String.format("[clusterName=%s, serviceName=%s, componentName=%s, desiredState=%s, recoveryEnabled=%s, componentCategory=%s]",
140-
clusterName, serviceName, clusterName, desiredState, recoveryEnabled, componentCategory);
140+
clusterName, serviceName, componentName, desiredState, recoveryEnabled, componentCategory);
141141
}
142142
}

0 commit comments

Comments
 (0)