fix some comments (#6052)

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter 2023-04-25 23:25:07 +08:00 committed by GitHub
parent 7bced74f51
commit ee3999303d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -605,7 +605,7 @@ func (dns *dnsControl) detectChanges(oldObj, newObj interface{}) {
dns.updateModified()
}
if emod {
dns.updateExtModifed()
dns.updateExtModified()
}
case *object.Pod:
dns.updateModified()
@ -749,7 +749,7 @@ func (dns *dnsControl) updateModified() {
}
// updateExtModified set dns.extModified to the current time.
func (dns *dnsControl) updateExtModifed() {
func (dns *dnsControl) updateExtModified() {
unix := time.Now().Unix()
atomic.StoreInt64(&dns.extModified, unix)
}