Merge pull request #1219 from mrjana/agent
Reset agentInitDone channel when leaving a cluster
This commit is contained in:
commit
50e0c90c99
1 changed files with 1 additions and 0 deletions
|
@ -265,6 +265,7 @@ func (c *controller) clusterAgentInit() {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
c.agentInitDone = make(chan struct{})
|
||||
c.agentClose()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue