From 06085ba8be41cc51af50771136376ab3f6d67b89 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Mon, 18 Jan 2021 15:54:55 +0300 Subject: [PATCH] [#323] storage/shard: Fix message of the error returned by Open method Signed-off-by: Leonard Lyubich --- pkg/local_object_storage/shard/control.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/local_object_storage/shard/control.go b/pkg/local_object_storage/shard/control.go index f3bf17954..45ae49fec 100644 --- a/pkg/local_object_storage/shard/control.go +++ b/pkg/local_object_storage/shard/control.go @@ -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) } }