Merge pull request #3976 from gravitl/patch/move-to-migrate

Remove SetDNS call;
This commit is contained in:
Abhishek Kondur
2026-04-14 18:17:36 +05:30
committed by GitHub
-7
View File
@@ -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" {