mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #78775 from johscheuer/fix-kube-proxy-cleanup-error
Check if options returning an error
This commit is contained in:
commit
a7c81c663d
@ -435,7 +435,10 @@ with the apiserver API to configure the proxy.`,
|
||||
if err := opts.Validate(args); err != nil {
|
||||
klog.Fatalf("failed validate: %v", err)
|
||||
}
|
||||
klog.Fatal(opts.Run())
|
||||
|
||||
if err := opts.Run(); err != nil {
|
||||
klog.Exit(err)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user