Skip to content

Commit

Permalink
revert change
Browse files Browse the repository at this point in the history
the var is not required and can be inlined
  • Loading branch information
nouseforaname committed Sep 10, 2024
1 parent 3b24ef0 commit 0be4881
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ func serve() {
logger.Fatal("Error initializing service broker config", err)
}
var serviceBroker domain.ServiceBroker
csbStore := storage.New(db, encryptor)
serviceBroker, err = osbapiBroker.New(cfg, csbStore, logger)
serviceBroker, err = osbapiBroker.New(cfg, storage.New(db, encryptor), logger)
if err != nil {
logger.Fatal("Error initializing service broker", err)
}
Expand Down

0 comments on commit 0be4881

Please sign in to comment.