From b5a1c03fb98674f13ac66521c5f8c068e2afbfeb Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Mon, 18 Jan 2021 11:26:49 +0300 Subject: [PATCH] [#323] storage/engine: Fix message of the error returned by Open method Signed-off-by: Leonard Lyubich --- pkg/local_object_storage/engine/control.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/local_object_storage/engine/control.go b/pkg/local_object_storage/engine/control.go index f11892bf67..72ef84bd9f 100644 --- a/pkg/local_object_storage/engine/control.go +++ b/pkg/local_object_storage/engine/control.go @@ -12,7 +12,7 @@ func (e *StorageEngine) Open() error { for id, sh := range e.shards { if err := sh.Open(); err != nil { - return errors.Wrapf(err, "could not initialize shard %s", id) + return errors.Wrapf(err, "could not open shard %s", id) } }