浏览代码

sync hosts into cache

abhishek9686 9 月之前
父节点
当前提交
df7a1fae65
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      migrate/migrate.go

+ 1 - 0
migrate/migrate.go

@@ -21,6 +21,7 @@ import (
 // Run - runs all migrations
 func Run() {
 	_, _ = logic.GetAllNodes()
+	_, _ = logic.GetAllHosts()
 	updateEnrollmentKeys()
 	assignSuperAdmin()
 	createDefaultTagsAndPolicies()