]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: fix use of creds in forward_iam_request()
authorCasey Bodley <cbodley@redhat.com>
Thu, 11 Jan 2024 15:28:01 +0000 (10:28 -0500)
committerCasey Bodley <cbodley@redhat.com>
Thu, 11 Jan 2024 15:28:03 +0000 (10:28 -0500)
commit209e3ed6f11af0cc1dde070e21e0867412e7d5e9
treede1106a290900b58d9786f43a57e61e25243d5c3
parent2971ff482b9bb9f8edd232992b3cb0e59ad92dd6
rgw: fix use of creds in forward_iam_request()

variable `creds` was moved into the `RGWRESTConn` constructor before being
passed into `forward_iam_request()`. change `forward_iam_request()` so
it uses the member variable from the constructor instead of taking it as
an argument

Fixes: https://tracker.ceph.com/issues/63994
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_rest_conn.cc
src/rgw/rgw_rest_conn.h
src/rgw/rgw_rest_role.cc