diff --git a/pkg/local_object_storage/shard/control.go b/pkg/local_object_storage/shard/control.go index edb18273ad..f3bf179545 100644 --- a/pkg/local_object_storage/shard/control.go +++ b/pkg/local_object_storage/shard/control.go @@ -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) } }