From b62c50af7c47dcf3faa498758557d171bbd6fe75 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 11 Jun 2021 09:43:36 +0200 Subject: [PATCH] Use cmd's context instead of background (#3418) --- service/application.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/application.go b/service/application.go index fb662339257c..9783a0944143 100644 --- a/service/application.go +++ b/service/application.go @@ -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()) }, }