mirror of
https://github.com/kyverno/kyverno.git
synced 2025-04-08 10:04:25 +00:00
missing update
This commit is contained in:
parent
5659f2fbcf
commit
0bd05fd227
1 changed files with 1 additions and 5 deletions
|
@ -213,11 +213,7 @@ func validatePatterns(ctx context.EvalInterface, resource unstructured.Unstructu
|
|||
str := fmt.Sprintf("Validation rule %s anyPattern[%d] failed at path %s.", rule.Name, index, failedPaths[index])
|
||||
errorStr = append(errorStr, str)
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
resp.Message = fmt.Sprintf("Validation error: %s\n%s", rule.Validation.Message, strings.Join(errorStr, "\n"))
|
||||
=======
|
||||
response.Message = fmt.Sprintf("Validation error: %s; %s", rule.Validation.Message, strings.Join(errorStr, ";"))
|
||||
>>>>>>> master
|
||||
resp.Message = fmt.Sprintf("Validation error: %s; %s", rule.Validation.Message, strings.Join(errorStr, ";"))
|
||||
|
||||
return resp
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue