]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
RGW - Fix NoSuchTagSet error 50533/head
authorDaniel Gryniewicz <dang@redhat.com>
Thu, 5 May 2022 14:27:12 +0000 (10:27 -0400)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Wed, 26 Apr 2023 07:46:22 +0000 (14:46 +0700)
A bug in AWS documentation caused this to be named "NoSuchTagSetError",
when the proper name (now fixed in the docs) is "NoSuchTagSet".  Fix
this so we match AWS.

Fixes: https://tracker.ceph.com/issues/55460
Author: Peter Gerber <peter@arbitrary.ch>
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
(cherry picked from commit a0ae10eb44217a2a1b084503e2fc131ab9bc2264)

Conflicts:
  - path: src/rgw/rgw_common.cc
    comment: manually resolved minor conflict

src/rgw/rgw_common.cc

index 3d09a1e001fa45e9b56e533f957e3612af5c87eb..a9b4d00733a0410d604f99267932c04465403c49 100644 (file)
@@ -126,7 +126,7 @@ rgw_http_errors rgw_http_s3_errors({
     { ERR_SERVICE_UNAVAILABLE, {503, "ServiceUnavailable"}},
     { ERR_RATE_LIMITED, {503, "SlowDown"}},
     { ERR_ZERO_IN_URL, {400, "InvalidRequest" }},
-    { ERR_NO_SUCH_TAG_SET, {404, "NoSuchTagSetError"}},
+    { ERR_NO_SUCH_TAG_SET, {404, "NoSuchTagSet"}},
 });
 
 rgw_http_errors rgw_http_swift_errors({