Skip to content

Commit

Permalink
hack: clean getStore (grafana#2726)
Browse files Browse the repository at this point in the history
Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
  • Loading branch information
dvrkps authored and cyriltovena committed Oct 21, 2020
1 parent 2f217c2 commit f1cfee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/storage/hack/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f1cfee8

Please sign in to comment.