Skip to content

Commit

Permalink
fix inuse.go
Browse files Browse the repository at this point in the history
Signed-off-by: dmitry.lopatin <[email protected]>
  • Loading branch information
LopatinDmitr committed Oct 21, 2024
1 parent f209bec commit f8134b5
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ func (h InUseHandler) Handle(ctx context.Context, vd *virtv2.VirtualDisk) (recon
inUseInRunningVirtualMachine = true
}
}

}
}
}
Expand Down Expand Up @@ -132,11 +131,6 @@ func (h InUseHandler) Handle(ctx context.Context, vd *virtv2.VirtualDisk) (recon
}
}

println("")
println("inUseInRunningVirtualMachine=", inUseInRunningVirtualMachine)
println("inUseForCreateImage=", inUseForCreateImage)
println("")

if inUseInRunningVirtualMachine && !inUseForCreateImage {
inUseCondition.Status = metav1.ConditionTrue
inUseCondition.Reason = vdcondition.InUseInRunningVirtualMachine
Expand Down

0 comments on commit f8134b5

Please sign in to comment.