[ https://issues.apache.org/jira/browse/HDDS-2148?focusedWorklogId=314554&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-314554 ]
ASF GitHub Bot logged work on HDDS-2148: ---------------------------------------- Author: ASF GitHub Bot Created on: 18/Sep/19 18:32 Start Date: 18/Sep/19 18:32 Worklog Time Spent: 10m Work Description: dineshchitlangia commented on issue #1471: HDDS-2148. Remove redundant code in CreateBucketHandler.java URL: https://github.com/apache/hadoop/pull/1471#issuecomment-532810657 /label ozone ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 314554) Time Spent: 20m (was: 10m) > 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 > Priority: Minor > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > {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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org