mirror of
https://github.com/kyverno/policy-reporter.git
synced 2024-12-14 11:57:32 +00:00
Fix violations "email sent to" log (#444)
Signed-off-by: cosimomeli <cosimomeli@users.noreply.github.com>
This commit is contained in:
parent
9a906480e4
commit
8789eae171
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ func NewViolationsCMD() *cobra.Command {
|
|||
return
|
||||
}
|
||||
|
||||
logger.Sugar().Infof("email sent to %s\n", strings.Join(c.EmailReports.Summary.To, ", "))
|
||||
logger.Sugar().Infof("email sent to %s\n", strings.Join(c.EmailReports.Violations.To, ", "))
|
||||
}()
|
||||
|
||||
for _, ch := range c.EmailReports.Violations.Channels {
|
||||
|
|
Loading…
Reference in a new issue