Skip to content

Commit

Permalink
goroutine should exist
Browse files Browse the repository at this point in the history
Signed-off-by: clyi <[email protected]>
  • Loading branch information
changluyi committed Dec 5, 2024
1 parent 420aa09 commit a50a4a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/controller/kubevirt.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ func (c *Controller) StartMigrationInformerFactory(ctx context.Context, kubevirt
util.LogFatalAndExit(nil, "failed to wait for vmi migration caches to sync")
}
isTaskRunning = true
return
}
case <-ctx.Done():
close(taskStopCh)
Expand Down

0 comments on commit a50a4a2

Please sign in to comment.