Merge pull request #1434 from igncp/master

Fix function names in comments
This commit is contained in:
Fabian Reinartz 2016-03-01 12:32:15 +01:00
commit 42a64a7d0b
1 changed files with 2 additions and 2 deletions

View File

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