mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Fix: set SilenceErrors and SilenceUsage not to change error message
This commit is contained in:
parent
a06d6138b5
commit
0252865601
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user