]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: add a new error code for email conflict
authorDunrong Huang <riegamaths@gmail.com>
Wed, 23 Dec 2015 13:42:28 +0000 (21:42 +0800)
committerDunrong Huang <riegamaths@gmail.com>
Wed, 23 Dec 2015 14:29:20 +0000 (22:29 +0800)
commitc22731698cab7962f3c62934a37d422973ef157f
tree77c3a0be5cbff31604bd740a13f3a483393dd89d
parentbea2e10a00d2e369050603dba40a44c4c256ef8d
rgw: add a new error code for email conflict

From http://docs.ceph.com/docs/master/radosgw/adminops/ when provided email
address exists, rgw should return EmailExists rather than UserAlreadyExists

Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
src/rgw/rgw_common.h
src/rgw/rgw_http_errors.h
src/rgw/rgw_user.cc