mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
optimize
This commit is contained in:
@@ -211,7 +211,7 @@ func (c *ConnectOptions) startLocalTunServe() {
|
||||
<-errChan
|
||||
}
|
||||
|
||||
func (c ConnectOptions) setupDNS() {
|
||||
func (c *ConnectOptions) setupDNS() {
|
||||
relovConf, err := dns.GetDNSServiceIPFromPod(c.clientset, c.restclient, c.config, util.TrafficManager, c.Namespace)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user