rgw/admin: add new error for SignatureDoesNotMatch

It indicates a mal-formed query for the API where some parameters are
incorrect. This is unlikely to happen with good integration test but we
never know.

Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han 2021-06-07 14:45:21 +02:00 committed by John Mulligan
parent cf09833810
commit 7b585cc9b4
1 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,9 @@ const (
// ErrUnknown - reports an unknown error
ErrUnknown errorReason = "Unknown"
// ErrSignatureDoesNotMatch - the query to the API has invalid parameters
ErrSignatureDoesNotMatch errorReason = "SignatureDoesNotMatch"
unmarshalError = "failed to unmarshal radosgw http response"
)