Add comment for why EndpointsStore doesn't have DeleteFunc

This commit is contained in:
Zihong Zheng 2016-10-19 10:07:53 -07:00
parent 10a0d2a468
commit 40b1a075b4

View File

@ -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.
},
)
}