Merge pull request #160 from emilh91/patch-1

Update consul_watcher.go
This commit is contained in:
Asim Aslam 2017-04-26 08:54:24 +01:00 committed by GitHub
commit e55e5033b8

View File

@ -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),
}