mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Fix comment on dropPodStatusDisabledFields method
This commit is contained in:
parent
c68eeb230a
commit
c7788b25f8
@ -299,7 +299,7 @@ func DropDisabledPodFields(pod, oldPod *api.Pod) {
|
||||
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) {
|
||||
// trim PodIPs down to only one entry (non dual stack).
|
||||
if !utilfeature.DefaultFeatureGate.Enabled(features.IPv6DualStack) &&
|
||||
|
Loading…
Reference in New Issue
Block a user