mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-10-30 18:26:33 +08:00
fix: remove svc from hosts if svc deleted (#107)
This commit is contained in:
@@ -194,7 +194,7 @@ func (c *Config) CancelDNS() {
|
||||
_ = os.RemoveAll(filepath.Join("/", "etc", "resolver"))
|
||||
}
|
||||
//networkCancel()
|
||||
c.removeHosts()
|
||||
c.removeHosts(c.Hosts)
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user