mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #105342 from jonyhy96/handle-cmd-error
kube-proxy: handle cmd error
This commit is contained in:
commit
efce40b931
@ -523,8 +523,7 @@ with the apiserver API to configure the proxy.`,
|
||||
opts.AddFlags(fs)
|
||||
fs.AddGoFlagSet(goflag.CommandLine) // for --boot-id-file and --machine-id-file
|
||||
|
||||
// TODO handle error
|
||||
cmd.MarkFlagFilename("config", "yaml", "yml", "json")
|
||||
_ = cmd.MarkFlagFilename("config", "yaml", "yml", "json")
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user