Skip to content

Commit b70f11b

Browse files
andrey-qlogicsduskis
authored andcommitted
---
yaml --- r: 13229 b: refs/heads/autosynth-speech c: 6b37bc5 h: refs/heads/master i: 13227: 409a58d
1 parent ecc70f8 commit b70f11b

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

  • branches/autosynth-speech/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
@@ -141,7 +141,7 @@ refs/heads/autosynth-redis: 4c68cb0fbc599124e717ab3f24bd8a8a5d085ca9
141141
refs/heads/autosynth-scheduler: 2f0fe714a8541dc72f88b45bddd8748e5f21cf29
142142
refs/heads/autosynth-securitycenter: 8e95447ccb176c3648880ee0cb926cd1f4065156
143143
refs/heads/autosynth-spanner: 563dc6c78c6a2579b681f441f0a9b59005212394
144-
refs/heads/autosynth-speech: b9aeb1b8f0bf94faf4f4125b14170e040778d26a
144+
refs/heads/autosynth-speech: 6b37bc5858b76ddf9ef87702987fcc7e1ac140c7
145145
refs/heads/autosynth-tasks: afc9f4da54964dea5e7f3a9b164db282fc35db5c
146146
refs/heads/autosynth-texttospeech: a447278ab2ec3975aab3b641549c6780eac0a07a
147147
refs/heads/autosynth-trace: 80c58aa2fb54b0a9c6876f2c21aa8d19cf55962e

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