Skip to content

Commit

Permalink
Use cmd's context instead of background (#3418)
Browse files Browse the repository at this point in the history
  • Loading branch information
mapno authored Jun 11, 2021
1 parent 23f70e2 commit b62c50a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func New(set AppSettings) (*Application, error) {
return fmt.Errorf("failed to get logger: %w", err)
}

return app.execute(context.Background())
return app.execute(cmd.Context())
},
}

Expand Down

0 comments on commit b62c50a

Please sign in to comment.