Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <github@ysh.us>
  • Loading branch information
yurishkuro committed Aug 1, 2022
1 parent 31ba15a commit 83b94fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/remote-storage/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ func main() {
version.NewInfoMetrics(metricsFactory)

opts, err := new(app.Options).InitFromViper(v, logger)
if err != nil {
logger.Fatal("Failed to parse options", zap.Error(err))
}

storageFactory.InitFromViper(v, logger)
if err := storageFactory.Initialize(baseFactory, logger); err != nil {
Expand Down

0 comments on commit 83b94fa

Please sign in to comment.