func (c *Controller) StopControl(e *etcdv1alpha1.EtcdCluster) {
	c.lock.Lock()
	defer c.lock.Unlock()

	key := string(e.UID)

	if mc, ok := c.clusters[key]; ok {
		mc.Stop()
		delete(c.clusters, key)
	}
}
// StopControl will stop controlling the specified EtcdCluster
StopControl will stop controlling the specified EtcdCluster
// StopControl will stop controlling the specified EtcdCluster
func (c *Controller) StopControl(e *etcdv1alpha1.EtcdCluster) {
	c.lock.Lock()
	defer c.lock.Unlock()
	key := string(e.UID)
	if mc, ok := c.clusters[key]; ok {
		mc.Stop()
		delete(c.clusters, key)
	}
}
func ( c * Controller ) StopControl ( e * etcdv1alpha1 . EtcdCluster ) { c . lock . Lock ( ) defer c . lock . Unlock ( ) key := string ( e . UID ) if mc , ok := c . clusters [ key ] ; ok { mc . Stop ( ) delete ( c . clusters , key ) } }
StopControl will stop controlling the specified EtcdCluster
StopControl will stop controlling the specified EtcdCluster