[#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
Leonard Lyubich 2021-01-18 11:27:27 +03:00 committed by Alex Vanin
parent b5a1c03fb9
commit 1ab630eb24
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}