Skip to content

Commit 6e365c9

Browse files
committed
test-5
1 parent a33f8fe commit 6e365c9

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

google/cloud/storage/async/client.cc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,16 @@ future<StatusOr<google::storage::v2::Object>> AsyncClient::InsertObject(
5252
future<StatusOr<ObjectDescriptor>> AsyncClient::Open(
5353
BucketName const& bucket_name, std::string object_name, Options opts) {
5454
auto spec = google::storage::v2::BidiReadObjectSpec{};
55+
std::cerr << "Hey this is a test statement of new branch.\n";
5556
spec.set_bucket(bucket_name.FullName());
5657
spec.set_object(std::move(object_name));
5758
return Open(std::move(spec), std::move(opts));
5859
}
5960

6061
future<StatusOr<ObjectDescriptor>> AsyncClient::Open(
6162
google::storage::v2::BidiReadObjectSpec spec, Options opts) {
62-
return connection_
63+
std::cerr << "Hey this is a test statement of new branch.\n";
64+
return connection_
6365
->Open({std::move(spec),
6466
internal::MergeOptions(std::move(opts), connection_->options())})
6567
.then([](auto f) -> StatusOr<ObjectDescriptor> {
@@ -116,7 +118,8 @@ future<StatusOr<std::pair<AsyncWriter, AsyncToken>>>
116118
AsyncClient::StartAppendableObjectUpload(BucketName const& bucket_name,
117119
std::string object_name,
118120
Options opts) {
119-
auto request = google::storage::v2::BidiWriteObjectRequest{};
121+
std::cerr << "Hey this is a test statement of new branch.\n";
122+
auto request = google::storage::v2::BidiWriteObjectRequest{};
120123
auto& resource = *request.mutable_write_object_spec()->mutable_resource();
121124

122125
resource.set_bucket(BucketName(bucket_name).FullName());
@@ -129,7 +132,8 @@ AsyncClient::StartAppendableObjectUpload(BucketName const& bucket_name,
129132
future<StatusOr<std::pair<AsyncWriter, AsyncToken>>>
130133
AsyncClient::StartAppendableObjectUpload(
131134
google::storage::v2::BidiWriteObjectRequest request, Options opts) {
132-
return connection_
135+
std::cerr << "Hey this is a test statement of new branch.\n";
136+
return connection_
133137
->StartAppendableObjectUpload(
134138
{std::move(request),
135139
internal::MergeOptions(std::move(opts), connection_->options())})

0 commit comments

Comments
 (0)