-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
When running kubedd with no arguments I get a panic:
goroutine 1 [running]:
github.com/devtron-labs/silver-surfer/pkg.(*Cluster).ServerVersion(0xc0001b3940)
/go/src/silver-surfer/pkg/Cluster.go:60 +0x18
github.com/devtron-labs/silver-surfer/kubedd.ValidateCluster(0x0, 0xc00046e8c0)
/go/src/silver-surfer/kubedd/kubedd.go:95 +0x145
main.processCluster()
/go/src/silver-surfer/main.go:168 +0x251
main.glob..func1(0x2b2a240, {0x2b6f4c8, 0x0, 0x0})
/go/src/silver-surfer/main.go:108 +0x12c
github.com/spf13/cobra.(*Command).execute(0x2b2a240, {0xc000198240, 0x0, 0x0})
/go/src/silver-surfer/vendor/github.com/spf13/cobra/command.go:766 +0x5f8
github.com/spf13/cobra.(*Command).ExecuteC(0x2b2a240)
/go/src/silver-surfer/vendor/github.com/spf13/cobra/command.go:852 +0x2dc
github.com/spf13/cobra.(*Command).Execute(...)
/go/src/silver-surfer/vendor/github.com/spf13/cobra/command.go:800
main.Execute()
/go/src/silver-surfer/main.go:258 +0x25
main.main()
/go/src/silver-surfer/main.go:286 +0x17
Metadata
Metadata
Assignees
Labels
No labels