Skip to content

Commit

Permalink
remove bucket creation line
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-munro committed Feb 15, 2024
1 parent f4053e3 commit b27e3c2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,10 @@ class Bidi implements Callable<String> {

@Override
public String call() throws Exception {
Bucket bucket = storageClient.create(BucketInfo.newBuilder(bucketName).build());
String blobName = DataGenerator.base64Characters().genBytes(20).toString();
BlobWriteSession sess =
storageClient.blobWriteSession(
BlobInfo.newBuilder(bucket, blobName).build(),
BlobInfo.newBuilder(bucketName, blobName).build(),
BlobWriteOption.doesNotExist());
byte[] bytes = DataGenerator.base64Characters().genBytes(objectSize);
Clock clock = Clock.systemDefaultZone();
Expand Down

0 comments on commit b27e3c2

Please sign in to comment.