[#323] storage/shard: Fix message of the error returned by Init method
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>remotes/KirillovDenis/release/v0.21.1
parent
b5a1c03fb9
commit
1ab630eb24
|
@ -35,7 +35,7 @@ func (s *Shard) Init() error {
|
|||
|
||||
for _, component := range components {
|
||||
if err := component.Init(); err != nil {
|
||||
return errors.Wrapf(err, "could not initialize %s", component)
|
||||
return errors.Wrapf(err, "could not initialize %T", component)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue