fix deadlock on failed cluster sync

This commit is contained in:
2026-06-06 23:22:46 +00:00
parent 1b884008c5
commit 952b76c555
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -35,6 +35,7 @@ func Run() {
cluster := Cluster{}
cluster.Init(client)
start := time.Now()
log.Printf("[INFO] starting cluster sync\n")
err := cluster.Sync()
if err != nil {
log.Printf("[Error] error encountered while syncing cluster: %s", err)