mirror of
https://github.com/niusmallnan/steve.git
synced 2025-06-22 12:47:04 +00:00
K-EXPLORER: fix build issue
This commit is contained in:
parent
88acaa871a
commit
18f619f9df
3
main.go
3
main.go
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user