diff --git a/images/virtualization-artifact/pkg/controller/vd/internal/inuse.go b/images/virtualization-artifact/pkg/controller/vd/internal/inuse.go index 36894e3d4..8c47bb1ac 100644 --- a/images/virtualization-artifact/pkg/controller/vd/internal/inuse.go +++ b/images/virtualization-artifact/pkg/controller/vd/internal/inuse.go @@ -82,7 +82,6 @@ func (h InUseHandler) Handle(ctx context.Context, vd *virtv2.VirtualDisk) (recon inUseInRunningVirtualMachine = true } } - } } } @@ -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