Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* ozone sh snapshot info.
*/
@CommandLine.Command(name = "info",
description = "returns information about an existing snapshot")
description = "Returns information about an existing snapshot")
public class InfoSnapshotHandler extends Handler {

@CommandLine.Mixin
Expand All @@ -56,7 +56,7 @@ protected void execute(OzoneClient client, OzoneAddress address)
.getSnapshotInfo(volumeName, bucketName, snapshotName);

if (isVerbose()) {
err().printf("Snapshot info for snapshot: %d under o3://%s/ %s ",
err().printf("Snapshot info for snapshot: %s under o3://%s/%s %n ",
snapshotName, volumeName, bucketName);
}
printObjectAsJson(ozoneSnapshot);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected void execute(OzoneClient client, OzoneAddress address)
.listSnapshot(volumeName, bucketName, null, null);
int counter = printAsJsonArray(snapshotInfos, Integer.MAX_VALUE);
if (isVerbose()) {
err().printf("Found : %d snapshots for o3://%s/ %s ", counter,
err().printf("Found : %d snapshots for o3://%s/%s %n", counter,
volumeName, bucketName);
}
}
Expand Down