Merge pull request #107909 from sebastiansterk/master

🤓 simple grammar fix
This commit is contained in:
Kubernetes Prow Robot 2022-02-15 12:15:18 -08:00 committed by GitHub
commit 4033355d29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ func ValidateLeaseSpec(spec *coordination.LeaseSpec, fldPath *field.Path) field.
}
if spec.LeaseTransitions != nil && *spec.LeaseTransitions < 0 {
fld := fldPath.Child("leaseTransitions")
allErrs = append(allErrs, field.Invalid(fld, spec.LeaseTransitions, "must to greater or equal than 0"))
allErrs = append(allErrs, field.Invalid(fld, spec.LeaseTransitions, "must be greater than or equal to 0"))
}
return allErrs
}

View File

@ -137,7 +137,7 @@ type nodeV1ClientCreator func(addr csiAddr, metricsManager *MetricsManager) (
type nodeV1AccessModeMapper func(am api.PersistentVolumeAccessMode) csipbv1.VolumeCapability_AccessMode_Mode
// newV1NodeClient creates a new NodeClient with the internally used gRPC
// connection set up. It also returns a closer which must to be called to close
// connection set up. It also returns a closer which must be called to close
// the gRPC connection when the NodeClient is not used anymore.
// This is the default implementation for the nodeV1ClientCreator, used in
// newCsiDriverClient.

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