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:
parent
734f4ec86d
commit
0b4f68390d
2 changed files with 0 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue