diff --git a/dispatch/dispatch.go b/dispatch/dispatch.go index ee911152..b19b98d6 100644 --- a/dispatch/dispatch.go +++ b/dispatch/dispatch.go @@ -144,7 +144,7 @@ func (d *Dispatcher) Stop() { <-d.done } -// notifyFunc is a function that performs notifcation for the alert +// notifyFunc is a function that performs notification for the alert // with the given fingerprint. It aborts on context cancelation. // Returns false iff notifying failed. type notifyFunc func(context.Context, ...*types.Alert) bool diff --git a/notify/notify.go b/notify/notify.go index bf72b2db..38277ebd 100644 --- a/notify/notify.go +++ b/notify/notify.go @@ -294,7 +294,7 @@ func (rs RoutingStage) Exec(ctx context.Context, l log.Logger, alerts ...*types. return s.Exec(ctx, l, alerts...) } -// A MultiStage executes a series of stages sequencially. +// A MultiStage executes a series of stages sequentially. type MultiStage []Stage // Exec implements the Stage interface.