1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-30 19:35:06 +00:00

Replaced status with message (#4315)

Signed-off-by: Kumar Mallikarjuna <kumar@nirmata.com>
This commit is contained in:
Kumar Mallikarjuna 2022-08-09 10:23:50 +05:30 committed by GitHub
parent b516aecb42
commit 94c60598af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ func buildPolicyEventMessage(resp *response.RuleResponse, resource response.Reso
}
if resp.Status == response.RuleStatusError && resp.Message != "" {
fmt.Fprintf(&b, "; %s", resp.Status.String())
fmt.Fprintf(&b, "; %s", resp.Message)
}
return b.String()