]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_user.h: modify interface comments. 5475/head
authorshawn <chen.xiaowei@h3c.com>
Wed, 5 Aug 2015 03:40:22 +0000 (11:40 +0800)
committershawn <chen.xiaowei@h3c.com>
Wed, 5 Aug 2015 03:40:27 +0000 (11:40 +0800)
Signed-off-by: shawn chen <cxwshawn@gmail.com>
src/rgw/rgw_user.h

index 6204b0967322adcd5234424261ff947294147108..d5348940926b11af6de6a54b89e25579675592e5 100644 (file)
@@ -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,