From: shawn Date: Wed, 5 Aug 2015 03:40:22 +0000 (+0800) Subject: rgw_user.h: modify interface comments. X-Git-Tag: v9.1.0~429^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F5475%2Fhead;p=ceph.git rgw_user.h: modify interface comments. Signed-off-by: shawn chen --- 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,