[#323] storage/shard: Fix message of the error returned by Init method
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
b5a1c03fb9
commit
1ab630eb24
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ func (s *Shard) Init() error {
|
||||||
|
|
||||||
for _, component := range components {
|
for _, component := range components {
|
||||||
if err := component.Init(); err != nil {
|
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 a new issue