mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #80946 from verb/comments
Fix comment on dropPodStatusDisabledFields method
This commit is contained in:
		@@ -299,7 +299,7 @@ func DropDisabledPodFields(pod, oldPod *api.Pod) {
 | 
				
			|||||||
	dropPodStatusDisabledFields(podStatus, oldPodStatus)
 | 
						dropPodStatusDisabledFields(podStatus, oldPodStatus)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// dropDisabledFields removes disabled fields from the pod status
 | 
					// dropPodStatusDisabledFields removes disabled fields from the pod status
 | 
				
			||||||
func dropPodStatusDisabledFields(podStatus *api.PodStatus, oldPodStatus *api.PodStatus) {
 | 
					func dropPodStatusDisabledFields(podStatus *api.PodStatus, oldPodStatus *api.PodStatus) {
 | 
				
			||||||
	// trim PodIPs down to only one entry (non dual stack).
 | 
						// trim PodIPs down to only one entry (non dual stack).
 | 
				
			||||||
	if !utilfeature.DefaultFeatureGate.Enabled(features.IPv6DualStack) &&
 | 
						if !utilfeature.DefaultFeatureGate.Enabled(features.IPv6DualStack) &&
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user