From d9e1edd1f482b7bf1468a1806f482ebcd85cd860 Mon Sep 17 00:00:00 2001 From: ziti-ci Date: Tue, 27 Oct 2020 21:04:19 -0400 Subject: [PATCH] checkpoint --- service/cziti/dns.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/service/cziti/dns.go b/service/cziti/dns.go index b78ec83f..e5077105 100644 --- a/service/cziti/dns.go +++ b/service/cziti/dns.go @@ -104,10 +104,8 @@ func (dns *dnsImpl) RegisterService(svcId string, dnsNameToReg string, port uint currentNetwork := "" if ctx != nil { - if ctx.Options != nil { - if ctx.Options.controller != nil { - currentNetwork = C.GoString(ctx.Options.controller) - } + if ctx.Options.controller != nil { + currentNetwork = C.GoString(ctx.Options.controller) } }