satellite/metabase: fix error message

The "object not found" included an additional prefix "metabase:", which
broke uplink error message detection.

Ideally, changing an internal error message shouldn't break the uplink.

Change-Id: I5ce7789cc11742d3435af1ec555bc96927f1bedc
This commit is contained in:
Egon Elbre 2023-05-02 12:37:26 +03:00
parent 90692362c6
commit ee28103b29

View File

@ -27,7 +27,7 @@ const defaultZombieDeletionPeriod = 24 * time.Hour
var ( var (
// ErrObjectNotFound is used to indicate that the object does not exist. // ErrObjectNotFound is used to indicate that the object does not exist.
ErrObjectNotFound = errs.Class("metabase: object not found") ErrObjectNotFound = errs.Class("object not found")
// ErrInvalidRequest is used to indicate invalid requests. // ErrInvalidRequest is used to indicate invalid requests.
ErrInvalidRequest = errs.Class("metabase: invalid request") ErrInvalidRequest = errs.Class("metabase: invalid request")
// ErrConflict is used to indicate conflict with the request. // ErrConflict is used to indicate conflict with the request.