We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4053e3 commit b27e3c2Copy full SHA for b27e3c2
storage-shared-benchmarking/src/main/java/com/google/cloud/storage/benchmarking/Bidi.java
@@ -55,11 +55,10 @@ class Bidi implements Callable<String> {
55
56
@Override
57
public String call() throws Exception {
58
- Bucket bucket = storageClient.create(BucketInfo.newBuilder(bucketName).build());
59
String blobName = DataGenerator.base64Characters().genBytes(20).toString();
60
BlobWriteSession sess =
61
storageClient.blobWriteSession(
62
- BlobInfo.newBuilder(bucket, blobName).build(),
+ BlobInfo.newBuilder(bucketName, blobName).build(),
63
BlobWriteOption.doesNotExist());
64
byte[] bytes = DataGenerator.base64Characters().genBytes(objectSize);
65
Clock clock = Clock.systemDefaultZone();
0 commit comments