mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Fix typo in comment in endpoints_controller
This commit is contained in:
parent
33aba7ee02
commit
baf0bf831d
@ -251,7 +251,7 @@ func podToEndpointAddressForService(svc *v1.Service, pod *v1.Pod) (*v1.EndpointA
|
|||||||
// pod cidr list order is same as service cidr list order). The expectation is
|
// pod cidr list order is same as service cidr list order). The expectation is
|
||||||
// this is *most probably* the case.
|
// this is *most probably* the case.
|
||||||
|
|
||||||
// if the family was incorrectly indentified then this will be corrected once the
|
// if the family was incorrectly identified then this will be corrected once the
|
||||||
// the upgrade is completed (controller connects to api-server that correctly defaults services)
|
// the upgrade is completed (controller connects to api-server that correctly defaults services)
|
||||||
if utilnet.IsIPv6String(pod.Status.PodIP) {
|
if utilnet.IsIPv6String(pod.Status.PodIP) {
|
||||||
ipFamily = v1.IPv6Protocol
|
ipFamily = v1.IPv6Protocol
|
||||||
|
Loading…
Reference in New Issue
Block a user