mirror of
https://github.com/openziti/desktop-edge-win.git
synced 2026-10-15 17:11:19 +00:00
Merge pull request #140 from openziti/issue-129-dns-entry-not-removed
fixes issue #129. didn't remove the dns entry from the map
This commit is contained in:
@@ -179,6 +179,8 @@ func (dns *dnsImpl) UnregisterService(ctx *CZitiCtx, name string) {
|
||||
if err != nil {
|
||||
log.Warnf("Unexpected error removing route for %s", icept.host)
|
||||
}
|
||||
} else {
|
||||
delete(dns.hostnameMap, icept.host)
|
||||
}
|
||||
delete(dns.serviceMap, key)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user