Fix some typos in comment (#1750)

Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
JoeWrightss 2019-02-08 21:57:08 +08:00 committed by Simon Pasquier
parent 46ff99aba7
commit b926c6935e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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.