]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
svc: role: make string consts static
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 26 Oct 2020 14:52:54 +0000 (15:52 +0100)
committerPritha Srivastava <prsrivas@redhat.com>
Tue, 6 Sep 2022 03:54:35 +0000 (09:24 +0530)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 35c0e1315cc29af1c99edaf6d0acdc41e0c24fae)

src/rgw/services/svc_role.h

index a301a694ec1d28a450a9ac6ecec5bf7514fe632a..4cd68ce188414debc002ff80ad0d3a3df38c6631 100644 (file)
@@ -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.";