mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #35138 from MrHohn/kubedns-comment
Automatic merge from submit-queue Add comment for why EndpointsStore doesn't have DeleteFunc I was confused about why EndpointsStore does not need to have the DeleteFunc. I think it would be helpful to have a comment here. @bprashanth @bowei
This commit is contained in:
commit
2d12c9ffca
@ -225,6 +225,8 @@ func (kd *KubeDNS) setEndpointsStore() {
|
||||
// TODO: Avoid unwanted updates.
|
||||
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