Skip to content

Commit

Permalink
Fix LUN warm migration
Browse files Browse the repository at this point in the history
When migrating a LUN disk from ovirt source in warm migration we need to
mark the CopyDisk as completed.

Signed-off-by: Liran Rotenberg <[email protected]>
  • Loading branch information
liranr23 authored and ahadas committed Aug 2, 2023
1 parent 42043cc commit 2064689
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/apis/forklift/v1beta1/plan/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ func (r *Step) ReflectTasks() {
tasksStarted := 0
tasksCompleted := 0
completed := int64(0)
if len(r.Tasks) == 0 {
return
}
for _, task := range r.Tasks {
if task.MarkedStarted() {
tasksStarted++
Expand Down

0 comments on commit 2064689

Please sign in to comment.