forked from TrueCloudLab/frostfs-node
[#1320] English Check
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
This commit is contained in:
parent
d99800ee93
commit
cc7a723d77
182 changed files with 802 additions and 802 deletions
|
@ -6,8 +6,8 @@ import (
|
|||
apistatus "github.com/nspcc-dev/neofs-sdk-go/client/status"
|
||||
)
|
||||
|
||||
// IsErrNotFound checks if error returned by Blobovnicza Get/Delete method
|
||||
// corresponds to missing object.
|
||||
// IsErrNotFound checks if the error returned by Blobovnicza Get/Delete method
|
||||
// corresponds to the missing object.
|
||||
func IsErrNotFound(err error) bool {
|
||||
return errors.As(err, new(apistatus.ObjectNotFound))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue