Skip to content

Commit

Permalink
Merge pull request fluxcd#274 from fluxcd/typo-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddeco authored Feb 1, 2021
2 parents 65bebeb + fcc5fc8 commit 2649237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/helmchart_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 2649237

Please sign in to comment.