mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +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
|
return nil
|
||||||
},
|
},
|
||||||
|
SilenceErrors: true,
|
||||||
|
SilenceUsage: true,
|
||||||
Args: func(cmd *cobra.Command, args []string) error {
|
Args: func(cmd *cobra.Command, args []string) error {
|
||||||
for _, arg := range args {
|
for _, arg := range args {
|
||||||
if len(arg) > 0 {
|
if len(arg) > 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user