From 28913f733e53c75e97397953a71f06191308c9b8 Mon Sep 17 00:00:00 2001 From: dchitlangia Date: Thu, 19 Sep 2019 12:26:53 +0200 Subject: [PATCH] HDDS-2148. Remove redundant code in CreateBucketHandler.java Closes #1471 --- .../hadoop/ozone/web/ozShell/bucket/CreateBucketHandler.java | 1 - 1 file changed, 1 deletion(-) diff --git a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/web/ozShell/bucket/CreateBucketHandler.java b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/web/ozShell/bucket/CreateBucketHandler.java index 237a7b21c2a..b4951e81b96 100644 --- a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/web/ozShell/bucket/CreateBucketHandler.java +++ b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/web/ozShell/bucket/CreateBucketHandler.java @@ -88,7 +88,6 @@ public class CreateBucketHandler extends Handler { 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); }