From bf8e5503191496fbe1284e108cd1da0eff9f830e Mon Sep 17 00:00:00 2001 From: wangtengfei Date: Mon, 5 Jul 2021 20:40:16 +0800 Subject: [PATCH] * According to the swift interface documentation, the length of the container name must be 1 to 256 characters Signed-off-by: wangtengfei --- src/rgw/rgw_rest_swift.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/rgw/rgw_rest_swift.cc b/src/rgw/rgw_rest_swift.cc index e2a2db57d4a..832dbb8795d 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; -- 2.47.3