mirror of
1
Fork 0

fix missing lookup cache key for invalid domain block (#1158)

This commit is contained in:
kim 2022-11-27 14:11:49 +00:00 committed by GitHub
parent c534230600
commit 0c1b1b01f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ func (d *domainDB) DeleteDomainBlock(ctx context.Context, domain string) db.Erro
} }
// Clear domain from cache // Clear domain from cache
d.cache.Invalidate(domain) d.cache.Invalidate("Domain", domain)
return nil return nil
} }