Fix spelling and comment style. (#1257)

This commit is contained in:
Brian Brazil 2018-02-27 09:07:33 +00:00 committed by stuart nelson
parent 29e441f88f
commit 5cb71e1def

View File

@ -154,14 +154,14 @@ func (r *Route) Key() string {
// RouteOpts holds various routing options necessary for processing alerts // RouteOpts holds various routing options necessary for processing alerts
// that match a given route. // that match a given route.
type RouteOpts struct { type RouteOpts struct {
// The identifier of the associated notification configuration // The identifier of the associated notification configuration.
Receiver string Receiver string
// What labels to group alerts by for notifications. // What labels to group alerts by for notifications.
GroupBy map[model.LabelName]struct{} GroupBy map[model.LabelName]struct{}
// How long to wait to group matching alerts before sending // How long to wait to group matching alerts before sending
// a notificaiton // a notification.
GroupWait time.Duration GroupWait time.Duration
GroupInterval time.Duration GroupInterval time.Duration
RepeatInterval time.Duration RepeatInterval time.Duration