[#323] storage/engine: Fix message of the error returned by Open method
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
c5ce777311
commit
b5a1c03fb9
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ func (e *StorageEngine) Open() error {
|
||||||
|
|
||||||
for id, sh := range e.shards {
|
for id, sh := range e.shards {
|
||||||
if err := sh.Open(); err != nil {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue