Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-bmikaili committed Aug 15, 2024
1 parent 78f4bf9 commit a929778
Showing 1 changed file with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,18 @@ static <T> Blob constructBlobAndMetadata(
chunkLength = paddedChunk.getSecond();

// Check if encryption key is available
if (encryptionKey == null) {
logger.logInfo(
"Encryption key is not available for table={}, blob={}",
firstChannelFlushContext.getFullyQualifiedTableName(),
filePath);
if (encryptionKey == null) {
logger.logInfo(
"Encryption key is not available for table={}, blob={}",
firstChannelFlushContext.getFullyQualifiedTableName(),
filePath);

// Print the entire encryptionKeysPerTable Map
for (Map.Entry<FullyQualifiedTableName, EncryptionKey> entry : encryptionKeysPerTable.entrySet()) {
logger.logInfo("Key = " + entry.getKey() + ", Value = " + entry.getValue());
}
// Print the entire encryptionKeysPerTable Map
for (Map.Entry<FullyQualifiedTableName, EncryptionKey> entry :
encryptionKeysPerTable.entrySet()) {
logger.logInfo("Key = " + entry.getKey() + ", Value = " + entry.getValue());
}
}

// Encrypt the compressed chunk data, the encryption key is derived using the key from
// server with the full blob path.
Expand Down

0 comments on commit a929778

Please sign in to comment.