adoroszlai commented on code in PR #3306:
URL: https://github.com/apache/ozone/pull/3306#discussion_r849132014


##########
hadoop-hdds/tools/src/main/java/org/apache/hadoop/hdds/scm/cli/container/InfoSubcommand.java:
##########
@@ -63,6 +63,11 @@ public class InfoSubcommand extends ScmSubcommand {
       description = "Format output as JSON")
   private boolean json;
 
+  @CommandLine.Option(names = { "--addReplicaDetails" },

Review Comment:
   ```suggestion
     @CommandLine.Option(names = { "--replicas" },
   ```



##########
hadoop-hdds/tools/src/test/java/org/apache/hadoop/hdds/scm/cli/container/TestInfoSubCommand.java:
##########
@@ -85,7 +85,7 @@ public void testReplicasIncludedInOutput() throws Exception {
         .thenReturn(getReplicas());
     cmd = new InfoSubcommand();
     CommandLine c = new CommandLine(cmd);
-    c.parseArgs("1");
+    c.parseArgs("1", "--addReplicaDetails");

Review Comment:
   ```suggestion
       c.parseArgs("1", "--replicas");
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to