From b926c6935e02a0a6a03980fdc0f9839233a447e4 Mon Sep 17 00:00:00 2001 From: JoeWrightss <42261994+JoeWrightss@users.noreply.github.com> Date: Fri, 8 Feb 2019 21:57:08 +0800 Subject: [PATCH] Fix some typos in comment (#1750) Signed-off-by: zhoulin xie --- dispatch/dispatch.go | 2 +- notify/notify.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.