Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
Signed-off-by: dmitry.lopatin <[email protected]>
  • Loading branch information
LopatinDmitr committed Sep 26, 2024
1 parent cf0f30e commit 788e81d
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,9 @@ func (h *SyncKvvmHandler) isWaiting(vm *virtv2.VirtualMachine) bool {
if c.Status != metav1.ConditionTrue && c.Reason != vmcondition.ReasonWaitingForProvisioningToPVC.String() {
return true
}
case vmcondition.TypeIPAddressReady:
if c.Status != metav1.ConditionTrue && c.Reason != vmcondition.ReasonIPAddressNotAssigned.String() {
return true
}

case vmcondition.TypeProvisioningReady,
case vmcondition.TypeIPAddressReady,
vmcondition.TypeProvisioningReady,
vmcondition.TypeClassReady:
if c.Status != metav1.ConditionTrue {
return true
Expand Down

0 comments on commit 788e81d

Please sign in to comment.