mirror of https://github.com/status-im/consul.git
consul: use correct shutdownCh for Router
This commit is contained in:
parent
2e14c09447
commit
f15e90bc9a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue