From: Yehuda Sadeh Date: Wed, 11 Nov 2015 23:32:34 +0000 (-0800) Subject: rgw: don't force pool names to start with periods X-Git-Tag: v10.1.0~354^2~218 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8166ac43d4131594506b6d5cfdc0637ad00a3f40;p=ceph.git rgw: don't force pool names to start with periods Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_json_enc.cc b/src/rgw/rgw_json_enc.cc index 8039ffdaa687..e4f367938dad 100644 --- a/src/rgw/rgw_json_enc.cc +++ b/src/rgw/rgw_json_enc.cc @@ -796,9 +796,6 @@ static void decode_json(const char *field, rgw_bucket& bucket, JSONObj *obj) { string pool; JSONDecoder::decode_json(field, pool, obj); - if (pool[0] != '.') { - pool = string(".") + pool; - } bucket = rgw_bucket(pool.c_str()); }