mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
simple grammar fix
This commit is contained in:
parent
bf4e43b736
commit
5e286470fa
@ -123,7 +123,7 @@ func (o *ViewOptions) Complete(cmd *cobra.Command, args []string) error {
|
|||||||
// Validate makes sure that provided values for command-line options are valid
|
// Validate makes sure that provided values for command-line options are valid
|
||||||
func (o ViewOptions) Validate() error {
|
func (o ViewOptions) Validate() error {
|
||||||
if !o.Merge.Value() && !o.ConfigAccess.IsExplicitFile() {
|
if !o.Merge.Value() && !o.ConfigAccess.IsExplicitFile() {
|
||||||
return errors.New("if merge==false a precise file must to specified")
|
return errors.New("if merge==false a precise file must be specified")
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user