[#323] storage/shard: Fix message of the error returned by Open method
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>remotes/KirillovDenis/release/v0.21.1
parent
cf00682065
commit
06085ba8be
|
@ -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 New Issue