From f7df0fa572e2caadd715e40aa067f720501625e6 Mon Sep 17 00:00:00 2001 From: Abhishek Lekshmanan Date: Mon, 26 Oct 2020 15:52:54 +0100 Subject: [PATCH] svc: role: make string consts static Signed-off-by: Abhishek Lekshmanan (cherry picked from commit 35c0e1315cc29af1c99edaf6d0acdc41e0c24fae) --- src/rgw/services/svc_role.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/rgw/services/svc_role.h b/src/rgw/services/svc_role.h index a301a694ec1d..4cd68ce18841 100644 --- a/src/rgw/services/svc_role.h +++ b/src/rgw/services/svc_role.h @@ -130,7 +130,6 @@ class RGWSI_Role: public RGWServiceInstance }; -const std::string role_name_oid_prefix = "role_names."; -const std::string role_oid_prefix = "roles."; -const std::string role_path_oid_prefix = "role_paths."; -const std::string role_arn_prefix = "arn:aws:iam::"; +static const std::string role_name_oid_prefix = "role_names."; +static const std::string role_oid_prefix = "roles."; +static const std::string role_path_oid_prefix = "role_paths."; -- 2.47.3