From 49b8ece72dc7255a6c385115157c05a392204e79 Mon Sep 17 00:00:00 2001 From: Dean Coakley Date: Wed, 22 Jan 2020 15:02:34 +0000 Subject: [PATCH] Fix action return error message --- pkg/apis/configuration/validation/validation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/configuration/validation/validation.go b/pkg/apis/configuration/validation/validation.go index 63142f6af3..b63a6fa2da 100644 --- a/pkg/apis/configuration/validation/validation.go +++ b/pkg/apis/configuration/validation/validation.go @@ -845,7 +845,7 @@ func validateActionReturnBody(body string, fieldPath *field.Path) field.ErrorLis } var actionReturnTypeFmt = `([^;\{\}"\\]|\\.)*` -var actionReturnTypeErr = `must have all '"' (double quotes) escaped, must not contain '{', '}' or ';' and must not end with an unescaped '\' (backslash)` +var actionReturnTypeErr = `must have all '"' (double quotes), '{', '}' or ';' escaped and must not end with an unescaped '\' (backslash)` var actionReturnTypeRegexp = regexp.MustCompile("^" + actionReturnTypeFmt + "$")