Fix: set SilenceErrors and SilenceUsage not to change error message

This commit is contained in:
sanposhiho 2021-08-23 13:29:44 +09:00
parent a06d6138b5
commit 0252865601

View File

@ -88,6 +88,8 @@ for more information about scheduling and the kube-scheduler component.`,
}
return nil
},
SilenceErrors: true,
SilenceUsage: true,
Args: func(cmd *cobra.Command, args []string) error {
for _, arg := range args {
if len(arg) > 0 {