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:
parent
b516aecb42
commit
94c60598af
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue