mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
fix(host): clean progress when migrate complete
This commit is contained in:
@@ -518,6 +518,7 @@ func (s *SKVMGuestInstance) onReceiveQMPEvent(event *monitor.Event) {
|
||||
// migrating complete
|
||||
s.migrateTask.migrateComplete()
|
||||
}
|
||||
hostutils.UpdateServerProgress(context.Background(), s.Id, 0.0, 0)
|
||||
case event.Event == `"BLOCK_JOB_COMPLETED"`:
|
||||
hostutils.UpdateServerProgress(context.Background(), s.Id, 0.0, 0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user