Skip to content

Commit 67d6c97

Browse files
committed
Resolved a typo in validators
Signed-off-by: Davide Berardi <[email protected]>
1 parent e1f7cfd commit 67d6c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kubernetes/validators.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ func validateCronExpression(v interface{}, k string) ([]string, []error) {
296296

297297
_, err := cron.ParseStandard(v.(string))
298298
if err != nil {
299-
errors = append(errors, fmt.Errorf("%q should be an valid Cron expression", k))
299+
errors = append(errors, fmt.Errorf("%q should be a valid Cron expression", k))
300300
}
301301

302302
return []string{}, errors

0 commit comments

Comments
 (0)