Skip to content

Commit 0eb3c8d

Browse files
andrey-qlogicsduskis
authored andcommitted
---
yaml --- r: 15609 b: refs/heads/autosynth-datastore c: 6b37bc5 h: refs/heads/master i: 15607: 6e55095
1 parent 1880d70 commit 0eb3c8d

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

  • branches/autosynth-datastore/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
@@ -129,7 +129,7 @@ refs/heads/autosynth-bigquerystorage: 14ab055598b943ae3f33f484e9fb1653355d08e7
129129
refs/heads/autosynth-bigtable: 2fbcb15847e0e89e79d6dc07420e28d7dfcea894
130130
refs/heads/autosynth-bigtable-admin: 6379a2bc712f2736c83de0e009b4d26da4fa82ca
131131
refs/heads/autosynth-containeranalysis: 039ca5b8db725c76c16a965ff26b2774322b8ef8
132-
refs/heads/autosynth-datastore: b9aeb1b8f0bf94faf4f4125b14170e040778d26a
132+
refs/heads/autosynth-datastore: 6b37bc5858b76ddf9ef87702987fcc7e1ac140c7
133133
refs/heads/autosynth-dialogflow: ebdd13c445b9674ff9ad4601f78d7ecd6f9c3660
134134
refs/heads/autosynth-errorreporting: 3d0566d6bebcc187f148bbed463b5a8e75b1edf6
135135
refs/heads/autosynth-firestore: 92b27fbc8855c9902168695abb0a8f1f433b750b

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