From a452c019ce8d3b31a4da4088089fdd5062a5d2dc Mon Sep 17 00:00:00 2001 From: Daniel Gryniewicz Date: Thu, 5 May 2022 10:27:12 -0400 Subject: [PATCH] RGW - Fix NoSuchTagSet error 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 Signed-off-by: Daniel Gryniewicz --- src/rgw/rgw_common.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_common.cc b/src/rgw/rgw_common.cc index 3eb60b6c0d141..410b52a4f7c8b 100644 --- a/src/rgw/rgw_common.cc +++ b/src/rgw/rgw_common.cc @@ -127,7 +127,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"}}, { ERR_NO_SUCH_BUCKET_ENCRYPTION_CONFIGURATION, {404, "ServerSideEncryptionConfigurationNotFoundError"}}, }); -- 2.39.5