Merge pull request #274 from fluxcd/typo-fix

This commit is contained in:
Hidde Beydals 2021-02-01 15:27:33 +01:00 committed by GitHub
commit 2649237d68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -930,7 +930,7 @@ func (r *HelmChartReconciler) requestsForBucketChange(o client.Object) []reconci
func validHelmChartName(s string) error {
chartFmt := regexp.MustCompile("^([-a-z0-9]*)$")
if !chartFmt.MatchString(s) {
return fmt.Errorf("invalid chart name %q, a valid name must be lower case letters and numbers and MAY be seperated with dashes (-)", s)
return fmt.Errorf("invalid chart name %q, a valid name must be lower case letters and numbers and MAY be separated with dashes (-)", s)
}
return nil
}