K-EXPLORER: fix build issue

This commit is contained in:
niusmallnan 2021-12-24 15:49:45 +08:00
parent 88acaa871a
commit 18f619f9df

View File

@ -1,7 +1,6 @@
package main package main
import ( import (
"context"
"os" "os"
"github.com/rancher/steve/pkg/debug" "github.com/rancher/steve/pkg/debug"
@ -33,7 +32,7 @@ func main() {
} }
func run(_ *cli.Context) error { func run(_ *cli.Context) error {
ctx := signals.SetupSignalHandler(context.Background()) ctx := signals.SetupSignalContext()
debugconfig.MustSetupDebug() debugconfig.MustSetupDebug()
s, err := config.ToServer(ctx) s, err := config.ToServer(ctx)
if err != nil { if err != nil {