From 9e1550db5343dcac73be95256b02c37d3ed7e27c Mon Sep 17 00:00:00 2001 From: Emil Huseynaliev Date: Tue, 25 Apr 2017 16:38:35 -0400 Subject: [PATCH] Update consul_watcher.go `WatchPlan` was renamed to `Plan` in the consul `watch` package in commit https://github.com/hashicorp/consul/commit/d7e23857ad1943edeaa7e490e0642019d44812e6 --- registry/consul_watcher.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/registry/consul_watcher.go b/registry/consul_watcher.go index 8571985d..742b53ee 100644 --- a/registry/consul_watcher.go +++ b/registry/consul_watcher.go @@ -10,8 +10,8 @@ import ( type consulWatcher struct { r *consulRegistry - wp *watch.WatchPlan - watchers map[string]*watch.WatchPlan + wp *watch.Plan + watchers map[string]*watch.Plan next chan *Result exit chan bool @@ -25,7 +25,7 @@ func newConsulWatcher(cr *consulRegistry) (Watcher, error) { r: cr, exit: make(chan bool), next: make(chan *Result, 10), - watchers: make(map[string]*watch.WatchPlan), + watchers: make(map[string]*watch.Plan), services: make(map[string][]*Service), }