From f2408ec81b483d202b4e1f4af73e1f1b37ce4119 Mon Sep 17 00:00:00 2001 From: Davor Kapsa Date: Mon, 5 Oct 2020 21:50:49 +0200 Subject: [PATCH] hack: clean getStore --- pkg/storage/hack/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/storage/hack/main.go b/pkg/storage/hack/main.go index 7a40a2d291de6..436e495031f03 100644 --- a/pkg/storage/hack/main.go +++ b/pkg/storage/hack/main.go @@ -76,11 +76,11 @@ func getStore() (lstore.Store, error) { nil, cortex_util.Logger, ) - store, err := lstore.NewStore(storeConfig, schemaCfg, chunkStore, prometheus.DefaultRegisterer) if err != nil { return nil, err } - return store, nil + + return lstore.NewStore(storeConfig, schemaCfg, chunkStore, prometheus.DefaultRegisterer) } func fillStore() error {