Dinesh Chitlangia created HDDS-2148: ---------------------------------------
Summary: Remove redundant code in CreateBucketHandler.java Key: HDDS-2148 URL: https://issues.apache.org/jira/browse/HDDS-2148 Project: Hadoop Distributed Data Store Issue Type: Bug Components: Ozone CLI Reporter: Dinesh Chitlangia Assignee: Dinesh Chitlangia {code:java} if (isVerbose()) { System.out.printf("Volume Name : %s%n", volumeName); System.out.printf("Bucket Name : %s%n", bucketName); if (bekName != null) { bb.setBucketEncryptionKey(bekName); System.out.printf("Bucket Encryption enabled with Key Name: %s%n", bekName); } } {code} This jira aims to remove the redundant line {{bb.setBucketEncryptionKey(bekName);}} as the same operation is performed in the preceding code block. This code block is to print additional details if verbose option was specified. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org