Skip to content

Commit f6ff5a8

Browse files
andrey-qlogicsduskis
authored andcommitted
---
yaml --- r: 17455 b: refs/heads/autosynth-tasks c: 6b37bc5 h: refs/heads/master i: 17453: e94b144 17451: cf8a85b 17447: fb4b171 17439: f576035
1 parent dc8e591 commit f6ff5a8

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

  • branches/autosynth-tasks/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
@@ -142,7 +142,7 @@ refs/heads/autosynth-scheduler: d97f8743ba965c7d5e492c8dc1f51d023104e260
142142
refs/heads/autosynth-securitycenter: 8e95447ccb176c3648880ee0cb926cd1f4065156
143143
refs/heads/autosynth-spanner: 9bff86d057df31e04c76d72865e8e073ac5794fb
144144
refs/heads/autosynth-speech: 75d6c62a9d07d3a3642980502a25d07fbde0f232
145-
refs/heads/autosynth-tasks: b9aeb1b8f0bf94faf4f4125b14170e040778d26a
145+
refs/heads/autosynth-tasks: 6b37bc5858b76ddf9ef87702987fcc7e1ac140c7
146146
refs/heads/autosynth-texttospeech: 0e26ec9b0ed5bbedc038dea32bbb44bae0883668
147147
refs/heads/autosynth-trace: 80c58aa2fb54b0a9c6876f2c21aa8d19cf55962e
148148
refs/heads/autosynth-websecurityscanner: d4febbffb6c648b74faec62fe90e20adadc9a7d3

branches/autosynth-tasks/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)