Fix comment for linter

This commit is contained in:
Daniel 2020-09-24 22:09:01 +02:00
parent 89dfbf72e6
commit 0f2e3cdb2f

View file

@ -51,7 +51,7 @@ func (rrCache *RRCache) Expired() bool {
return rrCache.TTL <= time.Now().Unix()
}
// Expired returns whether the record will expire soon and should already be refreshed.
// ExpiresSoon returns whether the record will expire soon and should already be refreshed.
func (rrCache *RRCache) ExpiresSoon() bool {
return rrCache.TTL <= time.Now().Unix()+refreshTTL
}