From 18f619f9df6db5cb6dc3d18c1e89121d0243e754 Mon Sep 17 00:00:00 2001 From: niusmallnan Date: Fri, 24 Dec 2021 15:49:45 +0800 Subject: [PATCH] K-EXPLORER: fix build issue --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index a179739..0ead763 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,6 @@ package main import ( - "context" "os" "github.com/rancher/steve/pkg/debug" @@ -33,7 +32,7 @@ func main() { } func run(_ *cli.Context) error { - ctx := signals.SetupSignalHandler(context.Background()) + ctx := signals.SetupSignalContext() debugconfig.MustSetupDebug() s, err := config.ToServer(ctx) if err != nil {