fix strange argument order
This commit is contained in:
		
							parent
							
								
									9bff6cff39
								
							
						
					
					
						commit
						27e21c6ec8
					
				|  | @ -179,7 +179,7 @@ func (c *Controller) Run(stopCh <-chan struct{}, wg *sync.WaitGroup) { | |||
| 
 | ||||
| 	for i := range c.clusterEventQueues { | ||||
| 		wg.Add(1) | ||||
| 		go c.processClusterEventsQueue(stopCh, i, wg) | ||||
| 		go c.processClusterEventsQueue(i, stopCh, wg) | ||||
| 	} | ||||
| 
 | ||||
| 	c.logger.Info("Started working in background") | ||||
|  |  | |||
|  | @ -228,7 +228,7 @@ func (c *Controller) processEvent(obj interface{}) error { | |||
| 	return nil | ||||
| } | ||||
| 
 | ||||
| func (c *Controller) processClusterEventsQueue(stopCh <-chan struct{}, idx int, wg *sync.WaitGroup) { | ||||
| func (c *Controller) processClusterEventsQueue(idx int, stopCh <-chan struct{}, wg *sync.WaitGroup) { | ||||
| 	defer wg.Done() | ||||
| 
 | ||||
| 	go func() { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue