Skip to content

Commit c0e9298

Browse files
nilotpalnandiNilotpal Nandi
authored andcommitted
HDDS-2651 Make startId parameter non-mandatory while listing containers through shell command
1 parent cd3f8c9 commit c0e9298

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/container/ListSubcommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ public class ListSubcommand implements Callable<Void> {
4949
private ContainerCommands parent;
5050

5151
@Option(names = {"-s", "--start"},
52-
description = "Container id to start the iteration", required = true)
53-
private long startId = 1;
52+
description = "Container id to start the iteration", required = false)
53+
private long startId = 0;
5454

5555
@Option(names = {"-c", "--count"},
5656
description = "Maximum number of containers to list",

0 commit comments

Comments
 (0)