Skip to content

Commit

Permalink
One more time...
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Weaver <[email protected]>
  • Loading branch information
alexweav committed Oct 4, 2023
1 parent f054c5f commit db7efa2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions cli/receivers.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ const (
maxTestReceiversWorkers = 10
)

var (
ErrNoReceivers = errors.New("no receivers with configuration set")
)
var ErrNoReceivers = errors.New("no receivers with configuration set")

type TestReceiversParams struct {
Alert *TestReceiversAlertParams
Expand Down
4 changes: 2 additions & 2 deletions cli/test_receivers.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ func printTestReceiversResults(result *TestReceiversResult) {
successfulCounts[rcv.Name] = 0
for _, cfg := range rcv.ConfigResults {
if cfg.Error == nil {
successful += 1
successfulCounts[rcv.Name] += 1
successful++
successfulCounts[rcv.Name]++
}
}
}
Expand Down

0 comments on commit db7efa2

Please sign in to comment.