Skip to content

Commit

Permalink
Fix Spam
Browse files Browse the repository at this point in the history
  • Loading branch information
robrotheram committed Mar 6, 2024
1 parent 90db347 commit ccd11f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/controllers/betterStackAuditing.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ type BetterStackMessage struct {
}

func (a *BetterStack) Send(event Event) {
if event.Action.Type == UPDATE_DURATION {
return
}
jsonData, err := json.Marshal(BetterStackMessage{
Level: "info",
Severity: "low",
Expand Down

0 comments on commit ccd11f6

Please sign in to comment.