Useful for multisite where we need to return when master zone is down
for metadata ops
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
a1653d1290434db7729e51a9ad13a1a0852615b3)
#define ERR_USER_SUSPENDED 2100
#define ERR_INTERNAL_ERROR 2200
#define ERR_NOT_IMPLEMENTED 2201
+#define ERR_SERVICE_UNAVAILABLE 2202
#ifndef UINT32_MAX
#define UINT32_MAX (0xffffffffu)
{ ERR_LOCKED, 423, "Locked" },
{ ERR_INTERNAL_ERROR, 500, "InternalError" },
{ ERR_NOT_IMPLEMENTED, 501, "NotImplemented" },
+ { ERR_SERVICE_UNAVAILABLE, 503, "ServiceUnavailable"}
};
const static struct rgw_http_errors RGW_HTTP_SWIFT_ERRORS[] = {