Skip to content

Commit

Permalink
Update pkg/reconciler/contour/config/contour.go
Browse files Browse the repository at this point in the history
Co-authored-by: Dave Protasowski <dprotaso@gmail.com>
  • Loading branch information
krsna-m and dprotaso authored Apr 10, 2024
1 parent 7324add commit 6ff0470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reconciler/contour/config/contour.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func NewContourFromConfigMap(configMap *corev1.ConfigMap) (*Contour, error) {
validOption := regexp.MustCompile("^[a-zA-Z0-9!#$%&'*+.^_`|~-]+$")
for _, option := range field {
if !validOption.MatchString(string(option)) {
return nil, fmt.Errorf("option %s is invalid for %s", userFriendlyError[i], option)
return nil, fmt.Errorf("option %q is invalid for %s", option, userFriendlyError[i])
}
}
}
Expand Down

0 comments on commit 6ff0470

Please sign in to comment.