mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Add comment for why EndpointsStore doesn't have DeleteFunc
This commit is contained in:
parent
10a0d2a468
commit
40b1a075b4
@ -225,6 +225,8 @@ func (kd *KubeDNS) setEndpointsStore() {
|
|||||||
// TODO: Avoid unwanted updates.
|
// TODO: Avoid unwanted updates.
|
||||||
kd.handleEndpointAdd(newObj)
|
kd.handleEndpointAdd(newObj)
|
||||||
},
|
},
|
||||||
|
// No DeleteFunc for EndpointsStore because endpoint object will be deleted
|
||||||
|
// when corresponding service is deleted.
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user