Skip to content

Commit 0c830d0

Browse files
committed
---
yaml --- r: 6403 b: refs/heads/tswast-patch-1 c: f11c05a h: refs/heads/master i: 6401: 810a796 6399: 3fe0ccd
1 parent 0515668 commit 0c830d0

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757
refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858
refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959
refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60-
refs/heads/tswast-patch-1: bea01573f3aec62ff7c96867467089eebf872975
60+
refs/heads/tswast-patch-1: f11c05a4846d598984fee5c132493d962fdf92e0
6161
refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b

branches/tswast-patch-1/gcloud-java-storage/src/main/java/com/google/gcloud/spi/DefaultStorageRpc.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ public Tuple<String, Iterable<Bucket>> list(Map<Option, ?> options) {
151151
.setPrefix(PREFIX.getString(options))
152152
.setMaxResults(MAX_RESULTS.getLong(options))
153153
.setPageToken(PAGE_TOKEN.getString(options))
154+
.setFields(FIELDS.getString(options))
154155
.execute();
155156
return Tuple.<String, Iterable<Bucket>>of(buckets.getNextPageToken(), buckets.getItems());
156157
} catch (IOException ex) {
@@ -186,6 +187,7 @@ public Bucket get(Bucket bucket, Map<Option, ?> options) {
186187
.setProjection(DEFAULT_PROJECTION)
187188
.setIfMetagenerationMatch(IF_METAGENERATION_MATCH.getLong(options))
188189
.setIfMetagenerationNotMatch(IF_METAGENERATION_NOT_MATCH.getLong(options))
190+
.setFields(FIELDS.getString(options))
189191
.execute();
190192
} catch (IOException ex) {
191193
throw translate(ex);

0 commit comments

Comments
 (0)