File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
main/java/com/google/cloud/storage
test/java/com/google/cloud/storage/it Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1228,8 +1228,7 @@ private MatchGlob(String val) {
12281228
12291229 @ Override
12301230 public Mapper <ListObjectsRequest .Builder > listObjects () {
1231- return CrossTransportUtils .throwHttpJsonOnly (
1232- com .google .cloud .storage .Storage .BlobListOption .class , "matchGlob(String)" );
1231+ return b -> b .setMatchGlobBytes (ByteString .copyFromUtf8 (val ));
12331232 }
12341233 }
12351234
Original file line number Diff line number Diff line change @@ -563,7 +563,6 @@ public void testListBlobsCurrentDirectoryIncludesBothObjectsAndSyntheticDirector
563563
564564 @ Test
565565 // When gRPC support is added for matchGlob, enable this test for gRPC.
566- @ Exclude (transports = Transport .GRPC )
567566 public void testListBlobsWithMatchGlob () throws Exception {
568567 BucketInfo bucketInfo = BucketInfo .newBuilder (generator .randomBucketName ()).build ();
569568 try (TemporaryBucket tempBucket =
You can’t perform that action at this time.
0 commit comments