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

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