[#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
Leonard Lyubich 2021-01-18 15:54:55 +03:00 committed by Alex Vanin
parent cf00682065
commit 06085ba8be
1 changed files with 1 additions and 1 deletions

View File

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