From 1b3ea0ea1b490539cbfe87e12d25d402c6190da1 Mon Sep 17 00:00:00 2001 From: Ignacio Carbajo Date: Mon, 29 Feb 2016 21:58:32 +0000 Subject: [PATCH] Fix function names in comments --- notification/notification.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notification/notification.go b/notification/notification.go index 7bf63019a..663e23936 100644 --- a/notification/notification.go +++ b/notification/notification.go @@ -69,7 +69,7 @@ type HandlerOptions struct { ExternalLabels model.LabelSet } -// NewHandler constructs a new Handler. +// New constructs a new Handler. func New(o *HandlerOptions) *Handler { ctx, cancel := context.WithCancel(context.Background()) @@ -200,7 +200,7 @@ func (n *Handler) Run() { } } -// SubmitReqs queues the given notification requests for processing. +// Send queues the given notification requests for processing. // Panics if called on a handler that is not running. func (n *Handler) Send(alerts ...*model.Alert) { n.mtx.Lock()