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
  • Loading branch information
hemantk-12 authored May 9, 2024
1 parent acb49b9 commit 673c112
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 673c112

Please sign in to comment.