mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-25 15:42:18 +00:00
Fix some typos in comment (#1750)
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
parent
46ff99aba7
commit
b926c6935e
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user