Skip to content

Commit

Permalink
HDDS-10834. Revert snapshot diff output change added in HDDS-9360 (ap…
Browse files Browse the repository at this point in the history
…ache#6660)

(cherry picked from commit 673c112)
  • Loading branch information
hemantk-12 authored and xichen01 committed Jul 17, 2024
1 parent c6a41c0 commit 39b54f8
Showing 1 changed file with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,12 @@ public String toString() {
.append(" and snapshot: ")
.append(getLaterSnapshotName())
.append(LINE_SEPARATOR);
if (!getDiffList().isEmpty()) {
for (DiffReportEntry entry : getDiffList()) {
str.append(entry.toString()).append(LINE_SEPARATOR);
}
if (StringUtils.isNotEmpty(token)) {
str.append("Next token: ")
.append(token);
}
} else {
str.append("No diff or no more diff for the request parameters.");
for (DiffReportEntry entry : getDiffList()) {
str.append(entry.toString()).append(LINE_SEPARATOR);
}
if (StringUtils.isNotEmpty(token)) {
str.append("Next token: ")
.append(token);
}
return str.toString();
}
Expand Down

0 comments on commit 39b54f8

Please sign in to comment.