rgw: uses 404 http code when there is NoSuchTagSetError

Signed-off-by: Chang Liu <liuchang0812@gmail.com>
This commit is contained in:
Chang Liu 2019-05-06 21:13:45 +08:00
parent 56189e2754
commit 993d86fad8

View File

@ -121,7 +121,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, {400, "NoSuchTagSetError"}},
{ ERR_NO_SUCH_TAG_SET, {404, "NoSuchTagSetError"}},
});
rgw_http_errors rgw_http_swift_errors({