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 12, 2024
2 parents 95f6cf6 + d5c571c commit 7d80a9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (h *BlockDeviceLimiter) Handle(ctx context.Context, vmbda *virtv2.VirtualMa
return reconcile.Result{}, nil
}

if blockDeviceAttachedCount > common.VmBlockDeviceAttachedLimit {
if blockDeviceAttachedCount <= common.VmBlockDeviceAttachedLimit {
cb.
Status(metav1.ConditionTrue).
Reason(vmbdacondition.CapacityAvailable).
Expand Down

0 comments on commit 7d80a9f

Please sign in to comment.