Browse Source

sync hosts into cache

abhishek9686 9 tháng trước cách đây
mục cha
commit
df7a1fae65
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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()