fix: ignore error

Signed-off-by: jonyhy <yun.hao@daocloud.io>
This commit is contained in:
jonyhy 2021-10-09 09:26:27 +08:00
parent 1123a7041e
commit 1ff266b779

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
}