]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
* According to the swift interface documentation, the length of the container name... 42182/head
authorwangtengfei <wangtengfei@inspur.com>
Mon, 5 Jul 2021 12:40:16 +0000 (20:40 +0800)
committerwangtengfei <wangtengfei@inspur.com>
Mon, 5 Jul 2021 12:40:16 +0000 (20:40 +0800)
Signed-off-by: wangtengfei <wangtengfei@inspur.com>
src/rgw/rgw_rest_swift.cc

index e2a2db57d4ae5f7e7d22fd71deb8b80cdf27d115..832dbb8795ddafea9495178559f561b0c8577633 100644 (file)
@@ -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;