mirror of https://github.com/ceph/go-ceph
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:
parent
cf09833810
commit
7b585cc9b4
|
@ -79,6 +79,9 @@ const (
|
||||||
// ErrUnknown - reports an unknown error
|
// ErrUnknown - reports an unknown error
|
||||||
ErrUnknown errorReason = "Unknown"
|
ErrUnknown errorReason = "Unknown"
|
||||||
|
|
||||||
|
// ErrSignatureDoesNotMatch - the query to the API has invalid parameters
|
||||||
|
ErrSignatureDoesNotMatch errorReason = "SignatureDoesNotMatch"
|
||||||
|
|
||||||
unmarshalError = "failed to unmarshal radosgw http response"
|
unmarshalError = "failed to unmarshal radosgw http response"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue