Skip to content

Commit

Permalink
Merge pull request #28713 from smithfarm/wip-40505-nautilus
Browse files Browse the repository at this point in the history
nautilus: rgw: fix miss get ret in STSService::storeARN

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
yuriw committed Jul 30, 2019
2 parents 2214ed0 + a934372 commit 5a86a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_sts.cc
Expand Up @@ -277,7 +277,7 @@ int STSService::storeARN(string& arn)
info.assumed_role_arn = arn;

RGWObjVersionTracker objv_tracker;
if (rgw_store_user_info(store, info, &info, &objv_tracker, real_time(),
if (ret = rgw_store_user_info(store, info, &info, &objv_tracker, real_time(),
false); ret < 0) {
return -ERR_INTERNAL_ERROR;
}
Expand Down

0 comments on commit 5a86a4f

Please sign in to comment.