Skip to content

Commit 49b8ece

Browse files
authored
Fix action return error message
1 parent b277ad5 commit 49b8ece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/apis/configuration/validation/validation.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ func validateActionReturnBody(body string, fieldPath *field.Path) field.ErrorLis
845845
}
846846

847847
var actionReturnTypeFmt = `([^;\{\}"\\]|\\.)*`
848-
var actionReturnTypeErr = `must have all '"' (double quotes) escaped, must not contain '{', '}' or ';' and must not end with an unescaped '\' (backslash)`
848+
var actionReturnTypeErr = `must have all '"' (double quotes), '{', '}' or ';' escaped and must not end with an unescaped '\' (backslash)`
849849

850850
var actionReturnTypeRegexp = regexp.MustCompile("^" + actionReturnTypeFmt + "$")
851851

0 commit comments

Comments
 (0)