We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5278143 commit da83817Copy full SHA for da83817
1 file changed
google/cloud/storage/internal/async/handle_redirect_error.cc
@@ -23,10 +23,10 @@ GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
23
void EnsureFirstMessageAppendObjectSpec(
24
google::storage::v2::BidiWriteObjectRequest& request,
25
google::rpc::Status const& rpc_status) {
26
- for (auto const& any : rpc_status.details()) {
+ for (auto const& rpc_status_detail : rpc_status.details()) {
27
google::storage::v2::BidiWriteObjectRedirectedError error =
28
google::storage::v2::BidiWriteObjectRedirectedError{};
29
- if (!any.UnpackTo(&error)) continue;
+ if (!rpc_status_detail.UnpackTo(&error)) continue;
30
if (!error.has_write_handle()) continue;
31
if (request.has_write_object_spec()) {
32
auto spec = request.write_object_spec();
0 commit comments