Merge pull request #1219 from mrjana/agent

Reset agentInitDone channel when leaving a cluster
This commit is contained in:
Santhosh Manohar 2016-06-06 15:06:15 -07:00
commit 50e0c90c99

View file

@ -265,6 +265,7 @@ func (c *controller) clusterAgentInit() {
}
}
} else {
c.agentInitDone = make(chan struct{})
c.agentClose()
}
}