mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	master shutdown hook should use correct constant for reconciling
To prevent accidental drift, use the same constant we use on startup in the master endpoint reconciler shudown method.
This commit is contained in:
		@@ -168,7 +168,7 @@ func (c *Controller) Stop() {
 | 
			
		||||
	go func() {
 | 
			
		||||
		defer close(finishedReconciling)
 | 
			
		||||
		klog.Infof("Shutting down kubernetes service endpoint reconciler")
 | 
			
		||||
		if err := c.EndpointReconciler.StopReconciling("kubernetes", c.PublicIP, endpointPorts); err != nil {
 | 
			
		||||
		if err := c.EndpointReconciler.StopReconciling(kubernetesServiceName, c.PublicIP, endpointPorts); err != nil {
 | 
			
		||||
			klog.Error(err)
 | 
			
		||||
		}
 | 
			
		||||
	}()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user