Skip to content

Commit dfddfd1

Browse files
fix: add x-goog-request-params header to fix routing (#103)
* fix: add x-goog-request-params header to fix routing * checkers * Use ApplyRoutingHeaders method instead * remove unnecessary import --------- Co-authored-by: bajajnehaa <[email protected]>
1 parent 1bd6270 commit dfddfd1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

google/cloud/storage/internal/async/connection_impl.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ AsyncConnectionImpl::StartAppendableObjectUpload(AppendableUploadParams p) {
325325
options->get<storage::TransferStallTimeoutOption>(),
326326
options->get<storage::TransferStallMinimumRateOption>(),
327327
google::storage::v2::ServiceConstants::MAX_WRITE_CHUNK_BYTES);
328+
ApplyRoutingHeaders(*context, request.write_object_spec());
328329
auto rpc = stub->AsyncBidiWriteObject(cq, std::move(context),
329330
std::move(options));
330331
rpc = std::make_unique<StreamingRpcTimeout>(cq, timeout, timeout,

0 commit comments

Comments
 (0)