Explorar o código

sync hosts into cache

abhishek9686 hai 9 meses
pai
achega
df7a1fae65
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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()