diff options
author | Casey Bodley <cbodley@redhat.com> | 2024-01-11 16:28:01 +0100 |
---|---|---|
committer | Casey Bodley <cbodley@redhat.com> | 2024-01-11 16:28:03 +0100 |
commit | 209e3ed6f11af0cc1dde070e21e0867412e7d5e9 (patch) | |
tree | de1106a290900b58d9786f43a57e61e25243d5c3 /src/rgw/rgw_rest_conn.h | |
parent | Merge pull request #54882 from Svelar/isa_xor_dev (diff) | |
download | ceph-209e3ed6f11af0cc1dde070e21e0867412e7d5e9.tar.xz ceph-209e3ed6f11af0cc1dde070e21e0867412e7d5e9.zip |
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>
Diffstat (limited to 'src/rgw/rgw_rest_conn.h')
-rw-r--r-- | src/rgw/rgw_rest_conn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_rest_conn.h b/src/rgw/rgw_rest_conn.h index 4e3c88af219..26e71bef38a 100644 --- a/src/rgw/rgw_rest_conn.h +++ b/src/rgw/rgw_rest_conn.h @@ -128,7 +128,7 @@ public: int forward(const DoutPrefixProvider *dpp, const rgw_user& uid, const req_info& info, obj_version *objv, size_t max_response, bufferlist *inbl, bufferlist *outbl, optional_yield y); /* sync request */ - int forward_iam_request(const DoutPrefixProvider *dpp, const RGWAccessKey& key, const req_info& info, obj_version *objv, size_t max_response, bufferlist *inbl, bufferlist *outbl, optional_yield y); + int forward_iam_request(const DoutPrefixProvider *dpp, const req_info& info, obj_version *objv, size_t max_response, bufferlist *inbl, bufferlist *outbl, optional_yield y); /* async requests */ |