]> git.apps.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>
Mon, 6 Jun 2022 10:49:43 +0000 (16:19 +0530)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
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.";