kubeadm/cmdutil.go: minor improvements
This patch makes small changes in
ValidateExactArgNumber():
- Use a variable for the length of supported arguments
- Return an error early if the number of valid arguments
exceeds the number of supported arguments
Signed-off-by:
Lubomir I. Ivanov <lubomirivanov@vmware.com>
Showing
Please
register
or
sign in
to comment