Skip to content

Commit

Permalink
fix: update kms key handling when opening a resumable upload to clear…
Browse files Browse the repository at this point in the history
… the value in the json to be null rather than empty string (#2939)

Related to b/395940239
  • Loading branch information
BenWhitehead authored Feb 18, 2025
1 parent 86e9ae8 commit 43553de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ public String open(StorageObject object, Map<Option, ?> options) {
try {
String kmsKeyName = object.getKmsKeyName();
if (kmsKeyName != null && kmsKeyName.contains("cryptoKeyVersions")) {
object.setKmsKeyName("");
object.setKmsKeyName(Data.nullOf(String.class));
}
Insert req =
storage
Expand Down

0 comments on commit 43553de

Please sign in to comment.