mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-22 16:07:11 +08:00
Merge pull request #3976 from gravitl/patch/move-to-migrate
Remove SetDNS call;
This commit is contained in:
@@ -148,13 +148,6 @@ func initialize() { // Client Mode Prereq Check
|
||||
}
|
||||
|
||||
func startControllers(wg *sync.WaitGroup, ctx context.Context) {
|
||||
if servercfg.IsDNSMode() {
|
||||
err := logic.SetDNS()
|
||||
if err != nil {
|
||||
logger.Log(0, "error occurred initializing DNS: ", err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
//Run Rest Server
|
||||
if servercfg.IsRestBackend() {
|
||||
if !servercfg.DisableRemoteIPCheck() && servercfg.GetAPIHost() == "127.0.0.1" {
|
||||
|
||||
Reference in New Issue
Block a user