Skip to content

Commit da83817

Browse files
committed
rename the any variable to rpc_status_detail
1 parent 5278143 commit da83817

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
2323
void EnsureFirstMessageAppendObjectSpec(
2424
google::storage::v2::BidiWriteObjectRequest& request,
2525
google::rpc::Status const& rpc_status) {
26-
for (auto const& any : rpc_status.details()) {
26+
for (auto const& rpc_status_detail : rpc_status.details()) {
2727
google::storage::v2::BidiWriteObjectRedirectedError error =
2828
google::storage::v2::BidiWriteObjectRedirectedError{};
29-
if (!any.UnpackTo(&error)) continue;
29+
if (!rpc_status_detail.UnpackTo(&error)) continue;
3030
if (!error.has_write_handle()) continue;
3131
if (request.has_write_object_spec()) {
3232
auto spec = request.write_object_spec();

0 commit comments

Comments
 (0)