consul: use correct shutdownCh for Router

This commit is contained in:
Frank Schroeder 2017-05-23 09:05:48 +02:00
parent 2e14c09447
commit f15e90bc9a
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ func NewServer(config *Config) (*Server, error) {
rpcTLS: incomingTLS, rpcTLS: incomingTLS,
reassertLeaderCh: make(chan chan error), reassertLeaderCh: make(chan chan error),
tombstoneGC: gc, tombstoneGC: gc,
shutdownCh: make(chan struct{}), shutdownCh: shutdownCh,
} }
// Set up the autopilot policy // Set up the autopilot policy