Change in ovirt-engine[master]: core: Remove assert from runtime code.

rgolan at redhat.com rgolan at redhat.com
Wed Jul 1 18:48:33 UTC 2015


Roy Golan has submitted this change and it was merged.

Change subject: core: Remove assert from runtime code.
......................................................................


core: Remove assert from runtime code.

1. assert shouldn't be in use in runtime code.
2. VM and affinity group have constraint so there
   shouldn't be a situation where we have a VM which isn't from the
   cluster in question.

@See ChangeVmClusterCommand.

Change-Id: Ie0f45de6c9bb3bc6d06be1b1376ea66f16142132
Signed-off-by: Roy Golan <rgolan at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/scheduling/arem/AffinityRulesEnforcementPerCluster.java
1 file changed, 0 insertions(+), 1 deletion(-)

Approvals:
  Martin Sivák: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests
  Roy Golan: Verified
  Omer Frenkel: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/42783
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie0f45de6c9bb3bc6d06be1b1376ea66f16142132
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list