You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/04/26 17:08:11 UTC

[GitHub] [accumulo] jmark99 commented on a diff in pull request #2651: Update ChangeSecret to work as documentation states

jmark99 commented on code in PR #2651:
URL: https://github.com/apache/accumulo/pull/2651#discussion_r858959318


##########
server/base/src/main/java/org/apache/accumulo/server/util/ChangeSecret.java:
##########
@@ -79,7 +79,7 @@ public static void main(String[] args) throws Exception {
       argsList.add("--new");
       argsList.addAll(Arrays.asList(args));
 
-      opts.parseArgs(ChangeSecret.class.getName(), args);
+      opts.parseArgs(ChangeSecret.class.getName(), argsList.toArray(new String[0]));

Review Comment:
   That is fine. I was just attempting to keep it in the form that it was originally written in case there was a particular reason for that format.



-- 
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: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org