Skip to content

Commit

Permalink
Include targetNodeName in shutdown metadata toString() (#96765)
Browse files Browse the repository at this point in the history
Reporting the `targetNodeName` was added to `main` in #78727 but omitted
from the backport in #78865. This commit adds the missing field to the
`toString()` response.
  • Loading branch information
DaveCTurner authored Jun 12, 2023
1 parent b326926 commit 969770f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ public String toString() {
if (allocationDelay != null) {
stringBuilder.append(", allocationDelay=[").append(allocationDelay).append("]");
}
if (targetNodeName != null) {
stringBuilder.append(", targetNodeName=[").append(targetNodeName).append("]");
}
stringBuilder.append("}");
return stringBuilder.toString();
}
Expand Down

0 comments on commit 969770f

Please sign in to comment.