Skip to content

Commit

Permalink
Merge branch 'main' into refactor/vd/use-condition-builder-as-conditi…
Browse files Browse the repository at this point in the history
…on-api
  • Loading branch information
eofff authored Nov 11, 2024
2 parents 5d91379 + d26a0fb commit 95f6cf6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,11 @@ func (h *SyncKvvmHandler) isWaiting(vm *virtv2.VirtualMachine) bool {
if c.Status != metav1.ConditionTrue {
return true
}

case vmcondition.TypeSizingPolicyMatched:
if c.Status != metav1.ConditionTrue {
return true
}
}
}
return false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ func SetupController(
internal.NewFilesystemHandler(),
internal.NewSnapshottingHandler(client),
internal.NewPodHandler(client),
internal.NewSizePolicyHandler(),
internal.NewSyncKvvmHandler(dvcrSettings, client, recorder),
internal.NewSyncMetadataHandler(client),
internal.NewLifeCycleHandler(client, recorder),
internal.NewStatisticHandler(client),
internal.NewSizePolicyHandler(),
}
r := NewReconciler(client, handlers...)

Expand Down

0 comments on commit 95f6cf6

Please sign in to comment.