Fixed router idempotency. Return registry.ErrWatchStopped from mdns reg

This commit is contained in:
Milos Gajdos
2019-07-01 15:43:50 +01:00
parent cff46c3fd8
commit f6e064cdbd
3 changed files with 36 additions and 32 deletions

View File

@@ -9,7 +9,7 @@ import (
var (
// ErrWatcherStopped is returned when routing table watcher has been stopped
ErrWatcherStopped = errors.New("routing table watcher stopped")
ErrWatcherStopped = errors.New("watcher stopped")
)
// EventType defines routing table event