diff options
author | Ronen Friedman <rfriedma@redhat.com> | 2021-10-17 08:21:16 +0200 |
---|---|---|
committer | Ronen Friedman <rfriedma@redhat.com> | 2021-11-11 09:58:35 +0100 |
commit | bb09a1d7e2c5dd29bbdfc70a24bd35ab5a0ce60a (patch) | |
tree | b8815a9e63413a0f315a88a79aff33b8fb20a516 /src/rgw/rgw_kms.h | |
parent | Merge pull request #43521 from ronen-fr/wip-rf-scrub-noscrub (diff) | |
download | ceph-bb09a1d7e2c5dd29bbdfc70a24bd35ab5a0ce60a.tar.xz ceph-bb09a1d7e2c5dd29bbdfc70a24bd35ab5a0ce60a.zip |
common: hide internal logger configuration strings from clients
Replace the common pattern used by clients of the logger, of:
- creating multiple "one element maps" for all config options;
- passing them, untouched, to the logger's update config.
with one that hides the configuration handling details from
the users.
Note: a followup PR, bypassing the strmaps construction altogether,
should be considered.
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
Diffstat (limited to 'src/rgw/rgw_kms.h')
-rw-r--r-- | src/rgw/rgw_kms.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rgw/rgw_kms.h b/src/rgw/rgw_kms.h index 58f2d872843..cd64794f122 100644 --- a/src/rgw/rgw_kms.h +++ b/src/rgw/rgw_kms.h @@ -8,6 +8,8 @@ #ifndef CEPH_RGW_KMS_H #define CEPH_RGW_KMS_H +#include <string> + static const std::string RGW_SSE_KMS_BACKEND_TESTING = "testing"; static const std::string RGW_SSE_KMS_BACKEND_BARBICAN = "barbican"; static const std::string RGW_SSE_KMS_BACKEND_VAULT = "vault"; |