Merge pull request #1874 from mkumatag/fix_segv

Fix SIGSEGV fault
pull/1876/head
Matt Butcher 8 years ago committed by GitHub
commit 325101307b

@ -87,7 +87,8 @@ func main() {
func start(c *cobra.Command, args []string) { func start(c *cobra.Command, args []string) {
clientset, err := kube.New(nil).ClientSet() clientset, err := kube.New(nil).ClientSet()
if err != nil { if err != nil {
fmt.Fprintf(os.Stderr, "Cannot initialize Kubernetes connection: %s", err) fmt.Fprintf(os.Stderr, "Cannot initialize Kubernetes connection: %s\n", err)
os.Exit(1)
} }
switch store { switch store {

Loading…
Cancel
Save