You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/04/15 03:10:20 UTC

[GitHub] [hadoop-ozone] vivekratnavel commented on a change in pull request #820: HDDS-3388. Add bucket encryption key info to bucket create audit log.

vivekratnavel commented on a change in pull request #820: HDDS-3388. Add bucket encryption key info to bucket create audit log.
URL: https://github.com/apache/hadoop-ozone/pull/820#discussion_r408555064
 
 

 ##########
 File path: hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmBucketInfo.java
 ##########
 @@ -215,6 +215,8 @@ public static Builder newBuilder() {
     auditMap.put(OzoneConsts.STORAGE_TYPE,
         (this.storageType != null) ? this.storageType.name() : null);
     auditMap.put(OzoneConsts.CREATION_TIME, String.valueOf(this.creationTime));
+    auditMap.put(OzoneConsts.BUCKET_ENCRYPTION_KEY,
+        (bekInfo != null) ? bekInfo.getKeyName() :  null);
 
 Review comment:
   Nit: extra space
   ```suggestion
           (bekInfo != null) ? bekInfo.getKeyName() : null);
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org