Skip to content

Commit c6192b5

Browse files
GavinTianYangchingor13
authored andcommitted
---
yaml --- r: 12279 b: refs/heads/autosynth-redis c: e333f47 h: refs/heads/master i: 12277: a933bd5 12275: db0426c 12271: cee5777
1 parent 577d949 commit c6192b5

2 files changed

Lines changed: 2 additions & 2 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: 9d732be07d99843d8cb53d34ec0837328a807fce
137137
refs/heads/autosynth-kms: dcc6e15d68759010c8735cc868135bd7e6c1cc5f
138138
refs/heads/autosynth-language: 8972866b016473559702424205ce5569de47b34d
139139
refs/heads/autosynth-os-login: daa910328b954bbe87068f684a3088ed910f1ddf
140-
refs/heads/autosynth-redis: fac25a3bb519bdd0685008108df73b5870ec7ba5
140+
refs/heads/autosynth-redis: e333f47279194ab2505bedc49e8c6e249c0316f1
141141
refs/heads/autosynth-scheduler: 22f042c3461cee9346c46fdade5c8fad1a80f431
142142
refs/heads/autosynth-securitycenter: 1b300406bfc0f022d0ae98286c419d54d08d2ad4
143143
refs/heads/autosynth-spanner: 54521ca9d598aa2a8778ee11d153da558a38834e

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ public String open(StorageObject object, Map<Option, ?> options) {
718718
String scheme = url.getScheme();
719719
String host = url.getHost();
720720
int port = url.getPort();
721-
port = port < 0 ? port : url.toURL().getDefaultPort();
721+
port = port > 0 ? port : url.toURL().getDefaultPort();
722722
String path = "/upload" + url.getRawPath();
723723
url = new GenericUrl(scheme + "://" + host + ":" + port + path);
724724
url.set("uploadType", "resumable");

0 commit comments

Comments
 (0)