mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #101413 from songxiao-wang87/run-test6
Structured Logging migration: modify policy part logs of kube-controller-manager.
This commit is contained in:
		@@ -34,7 +34,7 @@ import (
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
func startDisruptionController(ctx ControllerContext) (http.Handler, bool, error) {
 | 
					func startDisruptionController(ctx ControllerContext) (http.Handler, bool, error) {
 | 
				
			||||||
	if !utilfeature.DefaultFeatureGate.Enabled(kubefeatures.PodDisruptionBudget) {
 | 
						if !utilfeature.DefaultFeatureGate.Enabled(kubefeatures.PodDisruptionBudget) {
 | 
				
			||||||
		klog.Infof("Refusing to start disruption because the PodDisruptionBudget feature is disabled")
 | 
							klog.InfoS("Refusing to start disruption because the PodDisruptionBudget feature is disabled")
 | 
				
			||||||
		return nil, false, nil
 | 
							return nil, false, nil
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user