summaryrefslogtreecommitdiffstats
path: root/src/rgw/driver/rados/rgw_user.h
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2023-11-28 00:12:22 +0100
committerCasey Bodley <cbodley@redhat.com>2024-04-10 18:53:05 +0200
commit8c3fc16b3d9ef866c6b9cee558b30d78b357c8cc (patch)
tree30f8cc929ee7ac9623a517e505af246c20fe5956 /src/rgw/driver/rados/rgw_user.h
parentrgw/rados: generalize RGWUID for accounts (diff)
downloadceph-8c3fc16b3d9ef866c6b9cee558b30d78b357c8cc.tar.xz
ceph-8c3fc16b3d9ef866c6b9cee558b30d78b357c8cc.zip
rgw/rados: implement account metadata operations
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/driver/rados/rgw_user.h')
-rw-r--r--src/rgw/driver/rados/rgw_user.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rgw/driver/rados/rgw_user.h b/src/rgw/driver/rados/rgw_user.h
index c4585413a3b..373b672e6eb 100644
--- a/src/rgw/driver/rados/rgw_user.h
+++ b/src/rgw/driver/rados/rgw_user.h
@@ -225,10 +225,10 @@ struct RGWUserAdminOpState {
overwrite_new_user = b;
}
- void set_user_email(std::string& email) {
+ void set_user_email(const std::string& email) {
/* always lowercase email address */
- boost::algorithm::to_lower(email);
user_email = email;
+ boost::algorithm::to_lower(user_email);
user_email_specified = true;
}