瀏覽代碼

update dns settigns on migration

abhishek9686 3 月之前
父節點
當前提交
087b7393d6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      migrate/migrate.go

+ 1 - 0
migrate/migrate.go

@@ -202,6 +202,7 @@ func updateHosts() {
 			} else {
 			} else {
 				host.DNS = "no"
 				host.DNS = "no"
 			}
 			}
+			logic.UpsertHost(&host)
 		}
 		}
 	}
 	}
 }
 }