simple grammar fix

Kubernetes-commit: 5e286470fa16c4d53aa24b76a4fe94edf7b7016c
This commit is contained in:
Sebastian Sterk 2022-02-02 00:02:11 +01:00 committed by Kubernetes Publisher
parent 171f5b9905
commit 31436b2c03
1 changed files with 1 additions and 1 deletions

View File

@ -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
func (o ViewOptions) Validate() error {
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