From: wangtengfei Date: Mon, 5 Jul 2021 12:40:16 +0000 (+0800) Subject: * According to the swift interface documentation, the length of the container name... X-Git-Tag: v17.1.0~1194^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bf8e5503191496fbe1284e108cd1da0eff9f830e;p=ceph.git * According to the swift interface documentation, the length of the container name must be 1 to 256 characters Signed-off-by: wangtengfei --- diff --git a/src/rgw/rgw_rest_swift.cc b/src/rgw/rgw_rest_swift.cc index e2a2db57d4ae..832dbb8795dd 100644 --- a/src/rgw/rgw_rest_swift.cc +++ b/src/rgw/rgw_rest_swift.cc @@ -2856,10 +2856,6 @@ int RGWHandler_REST_SWIFT::validate_bucket_name(const string& bucket) return -ERR_INVALID_BUCKET_NAME; } - const auto ret = RGWHandler_REST::validate_bucket_name(bucket); - if (ret < 0) { - return ret; - } if (len == 0) return 0;