From 09dd23e14a18654d2edbc1b67a275cbd1461b513 Mon Sep 17 00:00:00 2001 From: James Phillips Date: Mon, 23 Jan 2017 23:44:32 -0800 Subject: [PATCH] Updates a comment to point to new blockingQuery function. --- command/agent/event_endpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/event_endpoint.go b/command/agent/event_endpoint.go index 84d2550c5..6735d66b6 100644 --- a/command/agent/event_endpoint.go +++ b/command/agent/event_endpoint.go @@ -97,7 +97,7 @@ func (s *HTTPServer) EventList(resp http.ResponseWriter, req *http.Request) (int nameFilter = filt } - // Lots of this logic is borrowed from consul/rpc.go:blockingRPC + // Lots of this logic is borrowed from consul/rpc.go:blockingQuery // However we cannot use that directly since this code has some // slight semantics differences... var timeout <-chan time.Time