]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: proper error message when tier_type does not exist 19575/head
authorChang Liu <liuchang0812@gmail.com>
Mon, 18 Dec 2017 09:35:25 +0000 (17:35 +0800)
committerChang Liu <liuchang0812@gmail.com>
Tue, 19 Dec 2017 12:56:22 +0000 (20:56 +0800)
commit35cc8794a893083c0e3db66d503f1ad463fae2ad
tree0cb18902b8317d5e7ad20dd71866c1d976ae0631
parent80c186f2d6f788cb9ee80a8820eeff221d76e708
rgw: proper error message when tier_type does not exist

at now, creating a zone does not check whether the sync module exists. we
should make sure that tier_type is valid.

Fixes: http://tracker.ceph.com/issues/22469
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Signed-off-by: lvshanchun <lvshanchun@gmail.com>
src/rgw/rgw_rados.cc
src/rgw/rgw_sync_module.h