Skip to content

Commit

Permalink
chore: add godocs
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksandrMatsko committed Dec 18, 2024
1 parent d989a76 commit d4af83c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/controller/triggers.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,8 @@ func triggerExists(database moira.Database, triggerID string) (bool, error) {
return true, nil
}

// GetTriggerNoisiness get triggers with amount of events (within time range [from, to])
// and sorts by events_count according to sortOrder.
func GetTriggerNoisiness(
database moira.Database,
page, size int64,
Expand Down

0 comments on commit d4af83c

Please sign in to comment.