forked from TrueCloudLab/frostfs-node
[#1969] local_object_storage: Simplify logic error construction
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
fcdbf5e509
commit
56de2f1363
17 changed files with 25 additions and 36 deletions
|
@ -1,7 +1,6 @@
|
|||
package blobstor
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
|
||||
"github.com/nspcc-dev/neofs-node/pkg/core/object"
|
||||
|
@ -12,7 +11,7 @@ import (
|
|||
|
||||
// ErrNoPlaceFound is returned when object can't be saved to any sub-storage component
|
||||
// because of the policy.
|
||||
var ErrNoPlaceFound = logicerr.Wrap(errors.New("couldn't find a place to store an object"))
|
||||
var ErrNoPlaceFound = logicerr.New("couldn't find a place to store an object")
|
||||
|
||||
// Put saves the object in BLOB storage.
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue