Skip to content

Commit

Permalink
Fix violations "email sent to" log (#444)
Browse files Browse the repository at this point in the history
Signed-off-by: cosimomeli <[email protected]>
  • Loading branch information
cosimomeli committed Jun 8, 2024
1 parent 9a90648 commit 8789eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/send/violations.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8789eae

Please sign in to comment.