diff options
author | Tobias Urdin <tobias.urdin@binero.se> | 2022-05-08 20:48:37 +0200 |
---|---|---|
committer | Tobias Urdin <tobias.urdin@binero.se> | 2022-09-21 22:33:29 +0200 |
commit | 40d5d14aa492a65853903313af518f3b6b6d439b (patch) | |
tree | c3f9551da6331539d72951dc78bb4233c302bcef /src/rgw/rgw_auth_keystone.cc | |
parent | rgw/doc: Add service token config refs under Keystone (diff) | |
download | ceph-40d5d14aa492a65853903313af518f3b6b6d439b.tar.xz ceph-40d5d14aa492a65853903313af518f3b6b6d439b.zip |
rgw/auth: Pass allow_expired as value in get_from_keystone
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
Diffstat (limited to 'src/rgw/rgw_auth_keystone.cc')
-rw-r--r-- | src/rgw/rgw_auth_keystone.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_auth_keystone.cc b/src/rgw/rgw_auth_keystone.cc index 74c8c5310cd..8cdb05b6d3b 100644 --- a/src/rgw/rgw_auth_keystone.cc +++ b/src/rgw/rgw_auth_keystone.cc @@ -38,7 +38,7 @@ TokenEngine::is_applicable(const std::string& token) const noexcept } boost::optional<TokenEngine::token_envelope_t> -TokenEngine::get_from_keystone(const DoutPrefixProvider* dpp, const std::string& token, const bool& allow_expired) const +TokenEngine::get_from_keystone(const DoutPrefixProvider* dpp, const std::string& token, bool allow_expired) const { /* Unfortunately, we can't use the short form of "using" here. It's because * we're aliasing a class' member, not namespace. */ |