Skip to content

Commit 48d2e29

Browse files
andrey-qlogicsduskis
authored andcommitted
---
yaml --- r: 16975 b: refs/heads/autosynth-redis c: 6b37bc5 h: refs/heads/master i: 16973: 0a4f6f0 16971: 3fdedce 16967: 8ff9dbb 16959: 2b5bb3d
1 parent 1f2a19c commit 48d2e29

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

  • branches/autosynth-redis/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
@@ -137,7 +137,7 @@ refs/heads/autosynth-iot: f16fc4ba85bbb37eacecb64a2a7336f685813f6c
137137
refs/heads/autosynth-kms: 4fff8f3cf6c830f7706ac4ef272f036bb87fbaf8
138138
refs/heads/autosynth-language: 6262e2eb76944f01972c887b3e684aaf65ec999a
139139
refs/heads/autosynth-os-login: a88a337797996a205873040a63abe1d3116f5789
140-
refs/heads/autosynth-redis: b9aeb1b8f0bf94faf4f4125b14170e040778d26a
140+
refs/heads/autosynth-redis: 6b37bc5858b76ddf9ef87702987fcc7e1ac140c7
141141
refs/heads/autosynth-scheduler: 2f0fe714a8541dc72f88b45bddd8748e5f21cf29
142142
refs/heads/autosynth-securitycenter: 8e95447ccb176c3648880ee0cb926cd1f4065156
143143
refs/heads/autosynth-spanner: 563dc6c78c6a2579b681f441f0a9b59005212394

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