stevenzwu commented on code in PR #17545:
URL: https://github.com/apache/iceberg/pull/17545#discussion_r4097039083


##########
core/src/main/java/org/apache/iceberg/encryption/StandardEncryptionManager.java:
##########
@@ -168,18 +173,16 @@ private long currentTimeMillis() {
     return System.currentTimeMillis() + testTimeShift;
   }
 
-  ByteBuffer encryptedByKey(String manifestListKeyID) {
-    EncryptedKey encryptedKeyMetadata = encryptionKeys.get(manifestListKeyID);
+  ByteBuffer encryptedByKey(String keyId) {
+    EncryptedKey encryptedKeyMetadata = encryptionKeys.get(keyId);
 
     Preconditions.checkState(
-        encryptedKeyMetadata != null,
-        "Cannot find manifest list key metadata with id %s",
-        manifestListKeyID);
+        encryptedKeyMetadata != null, "Cannot find manifest list key metadata 
with id %s", keyId);

Review Comment:
   nit: the error msg still reference `manifest list key`



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to