From: Abhishek Lekshmanan Date: Mon, 26 Oct 2020 14:52:54 +0000 (+0100) Subject: svc: role: make string consts static X-Git-Tag: v17.2.6~119^2~19 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f7df0fa572e2caadd715e40aa067f720501625e6;p=ceph.git svc: role: make string consts static Signed-off-by: Abhishek Lekshmanan (cherry picked from commit 35c0e1315cc29af1c99edaf6d0acdc41e0c24fae) --- 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.";