forked from TrueCloudLab/frostfs-node
[#323] storage/shard: Fix message of the error returned by Open method
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
cf00682065
commit
06085ba8be
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ func (s *Shard) Open() error {
|
|||
|
||||
for _, component := range components {
|
||||
if err := component.Open(); err != nil {
|
||||
return errors.Wrapf(err, "could not open %s", component)
|
||||
return errors.Wrapf(err, "could not open %T", component)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue