Commit 40b1a075 authored by Zihong Zheng's avatar Zihong Zheng

Add comment for why EndpointsStore doesn't have DeleteFunc

parent 10a0d2a4
...@@ -225,6 +225,8 @@ func (kd *KubeDNS) setEndpointsStore() { ...@@ -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.
}, },
) )
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment