1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

remove unused mConfig

Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
allencloud 2016-11-08 18:18:55 +08:00
parent 734f4ec86d
commit 0b4f68390d
2 changed files with 0 additions and 6 deletions

View file

@ -139,7 +139,6 @@ func (nDB *NetworkDB) clusterInit() error {
nDB.stopCh = make(chan struct{})
nDB.memberlist = mlist
nDB.mConfig = config
for _, trigger := range []struct {
interval time.Duration

View file

@ -29,10 +29,6 @@ type NetworkDB struct {
// NetworkDB configuration.
config *Config
// local copy of memberlist config that we use to driver
// network scoped gossip and bulk sync.
mConfig *memberlist.Config
// All the tree index (byTable, byNetwork) that we maintain
// the db.
indexes map[int]*radix.Tree
@ -57,7 +53,6 @@ type NetworkDB struct {
// A map of nodes which are participating in a given
// network. The key is a network ID.
networkNodes map[string][]string
// A table of ack channels for every node from which we are