From 3869d5eee8d5ccd1c425a8922908b8bb0c946124 Mon Sep 17 00:00:00 2001 From: Alexandre Beslic Date: Mon, 7 Sep 2015 05:25:52 -0700 Subject: [PATCH] Fix token discovery, error chan for Watch was not passed back to the caller Signed-off-by: Alexandre Beslic --- discovery/token/token.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery/token/token.go b/discovery/token/token.go index 7a4eaa88a7..b2f389c436 100644 --- a/discovery/token/token.go +++ b/discovery/token/token.go @@ -112,7 +112,7 @@ func (s *Discovery) Watch(stopCh <-chan struct{}) (<-chan discovery.Entries, <-c } }() - return ch, nil + return ch, errCh } // Register adds a new entry identified by the into the discovery service