1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-08 10:04:25 +00:00

missing update

This commit is contained in:
shivkumar dudhani 2019-12-12 18:48:53 -08:00
parent 5659f2fbcf
commit 0bd05fd227

View file

@ -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
}