Skip to content

Commit

Permalink
fix: format server.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jueli12 committed Jul 29, 2024
1 parent fcb6ec0 commit 014e770
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions cmd/app/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"github.com/KusionStack/karpor/pkg/kubernetes/registry"
"github.com/KusionStack/karpor/pkg/kubernetes/scheme"
"github.com/KusionStack/karpor/pkg/server"
"github.com/KusionStack/karpor/pkg/version"
proxyutil "github.com/KusionStack/karpor/pkg/util/proxy"
"github.com/KusionStack/karpor/pkg/version"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"k8s.io/apimachinery/pkg/runtime/schema"
Expand Down Expand Up @@ -101,11 +101,10 @@ func NewServerCommand(ctx context.Context) *cobra.Command {
}))
expvar.Publish("Version", expvar.Func(func() interface{} {
return version.GetVersion()
}))
expvar.Publish("AIOptions", expvar.Func(func() interface{} {
}))
expvar.Publish("AIOptions", expvar.Func(func() interface{} {
return o.AIOptions
}))

}))

cmd := &cobra.Command{
Use: "karpor",
Expand Down

0 comments on commit 014e770

Please sign in to comment.