Skip to content

Commit

Permalink
fix(auto_balancer): fix string format (#1987)
Browse files Browse the repository at this point in the history
Signed-off-by: Shichao Nie <[email protected]>
  • Loading branch information
SCNieh authored Sep 5, 2024
1 parent bb0408e commit e34ef26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public int hashCode() {
public String shortString() {
return "Broker{" +
"brokerId=" + brokerId +
"outOfDate=" + metricsOutOfDate +
", outOfDate=" + metricsOutOfDate +
", slow=" + isSlowBroker +
", " + timeString() +
", " + loadString() +
Expand All @@ -184,7 +184,7 @@ public Broker copy() {
public String toString() {
return "Broker{" +
"brokerId=" + brokerId +
"outOfDate=" + metricsOutOfDate +
", outOfDate=" + metricsOutOfDate +
", slow=" + isSlowBroker +
", " + super.toString() +
"}";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public int hashCode() {
public String shortString() {
return "TopicPartitionReplica{" +
"tp=" + tp +
"outOfDate=" + metricsOutOfDate +
", outOfDate=" + metricsOutOfDate +
", " + timeString() +
", " + loadString() +
"}";
Expand All @@ -126,7 +126,7 @@ public AbstractInstance copy() {
public String toString() {
return "TopicPartitionReplica{" +
"tp=" + tp +
"outOfDate=" + metricsOutOfDate +
", outOfDate=" + metricsOutOfDate +
", " + super.toString() +
"}";
}
Expand Down

0 comments on commit e34ef26

Please sign in to comment.