From 0cdd77d6810a7a3641a90e5809b264bbf3638e15 Mon Sep 17 00:00:00 2001 From: shawn Date: Wed, 5 Aug 2015 11:40:22 +0800 Subject: [PATCH] rgw_user.h: modify interface comments. Signed-off-by: shawn chen --- src/rgw/rgw_user.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rgw/rgw_user.h b/src/rgw/rgw_user.h index 6204b0967322..d5348940926b 100644 --- a/src/rgw/rgw_user.h +++ b/src/rgw/rgw_user.h @@ -58,14 +58,14 @@ extern bool rgw_user_is_authenticated(RGWUserInfo& info); extern int rgw_store_user_info(RGWRados *store, RGWUserInfo& info, RGWUserInfo *old_info, RGWObjVersionTracker *objv_tracker, time_t mtime, bool exclusive); /** - * Given an email, finds the user info associated with it. + * Given an user_id, finds the user info associated with it. * returns: 0 on success, -ERR# on failure (including nonexistence) */ extern int rgw_get_user_info_by_uid(RGWRados *store, string& user_id, RGWUserInfo& info, RGWObjVersionTracker *objv_tracker = NULL, time_t *pmtime = NULL, rgw_cache_entry_info *cache_info = NULL); /** - * Given an swift username, finds the user info associated with it. + * Given an email, finds the user info associated with it. * returns: 0 on success, -ERR# on failure (including nonexistence) */ extern int rgw_get_user_info_by_email(RGWRados *store, string& email, RGWUserInfo& info, -- 2.47.3