Skip to content

Commit 747f96f

Browse files
andrey-qlogicsduskis
authored andcommitted
---
yaml --- r: 13723 b: refs/heads/autosynth-logging c: 6b37bc5 h: refs/heads/master i: 13721: 5a97f75 13719: 4920a08
1 parent 1bf2a87 commit 747f96f

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

  • branches/autosynth-logging/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ refs/tags/v0.61.0: e4b526656bb1bf5eefd0ee578b7405147821225e
105105
refs/tags/v0.62.0: bbede7385d48ba08f487bdd29ec10668ace96396
106106
refs/heads/0.60.0-alpha: 10939381ffe0b8da32db4fe3087c86e3aa7f3e55
107107
refs/heads/autosynth-dlp: 90e4efe3be392e89dc36bce22afab981a905b1bc
108-
refs/heads/autosynth-logging: b9aeb1b8f0bf94faf4f4125b14170e040778d26a
108+
refs/heads/autosynth-logging: 6b37bc5858b76ddf9ef87702987fcc7e1ac140c7
109109
refs/heads/dupes: 3478c5d81fd242d0e985656645a679420a2060c2
110110
refs/tags/v0.63.0: 94f19b71d40f46b36120e7b9d78a1a3d41bfcbd6
111111
refs/tags/v0.64.0: 456e8fbd129deced3ca025f239a2d8a82bde1d0a

branches/autosynth-logging/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/spi/v1/HttpStorageRpc.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,9 @@ public StorageObject create(
288288
new InputStreamContent(storageObject.getContentType(), content));
289289
insert.getMediaHttpUploader().setDirectUploadEnabled(true);
290290
Boolean disableGzipContent = Option.IF_DISABLE_GZIP_CONTENT.getBoolean(options);
291-
if (disableGzipContent != null)
292-
insert.getMediaHttpUploader().setDisableGZipContent(disableGzipContent);
291+
if (disableGzipContent != null) {
292+
insert.setDisableGZipContent(disableGzipContent);
293+
}
293294
setEncryptionHeaders(insert.getRequestHeaders(), ENCRYPTION_KEY_PREFIX, options);
294295
return insert
295296
.setProjection(DEFAULT_PROJECTION)

0 commit comments

Comments
 (0)