Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmetc committed Dec 11, 2024
1 parent 51b96c4 commit b469857
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/leakybucket/overflows.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ func NewAlert(leaky *Leaky, queue *types.Queue) (types.RuntimeAlert, error) {
if err := newApiAlert.Validate(strfmt.Default); err != nil {
log.Errorf("Generated alerts isn't valid")
log.Errorf("->%s", spew.Sdump(newApiAlert))
// XXX: deep-exit - note other errors returned from this function are not fatal

Check warning on line 367 in pkg/leakybucket/overflows.go

View check run for this annotation

Codecov / codecov/patch

pkg/leakybucket/overflows.go#L367

Added line #L367 was not covered by tests
log.Fatalf("error : %s", err)
}

Expand Down

0 comments on commit b469857

Please sign in to comment.