Browse Source

sync hosts into cache

abhishek9686 9 months ago
parent
commit
df7a1fae65
1 changed files with 1 additions and 0 deletions
  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()