diff --git a/cmd/catalog-importer/cmd/app.go b/cmd/catalog-importer/cmd/app.go index ff56314..28176b3 100644 --- a/cmd/catalog-importer/cmd/app.go +++ b/cmd/catalog-importer/cmd/app.go @@ -76,7 +76,7 @@ func Run(ctx context.Context) (err error) { stdlog.SetOutput(kitlog.NewStdlibAdapter(logger)) // Root context to the application. - _, cancel := context.WithCancel(context.Background()) + ctx, cancel := context.WithCancel(context.Background()) defer cancel() // Setup signal handling.