Merge pull request #105342 from jonyhy96/handle-cmd-error

kube-proxy: handle cmd error
This commit is contained in:
Kubernetes Prow Robot 2021-10-13 01:21:49 -07:00 committed by GitHub
commit efce40b931
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}