Change in ovirt-engine[master]: engine: RefreshHostDevicesCommand- remove entries from table...

masayag at redhat.com masayag at redhat.com
Thu May 28 07:35:15 UTC 2015


Moti Asayag has submitted this change and it was merged.

Change subject: engine: RefreshHostDevicesCommand- remove entries from table before adding
......................................................................


engine: RefreshHostDevicesCommand- remove entries from table before adding

Removing entries from the tables (host_device, host_nic_vfs_config) should
be done before adding new ones-
to avoid potential duplicate error of unique columns.

Change-Id: Id4e6f88f0e3e6ce43d68709e0ec80b44d951bf96
Signed-off-by: Alona Kaplan <alkaplan at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/hostdev/RefreshHostDevicesCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/host/HostNicVfsConfigHelper.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/host/HostNicVfsConfigHelperImpl.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/network/host/HostNicVfsConfigHelperImplTest.java
4 files changed, 52 insertions(+), 18 deletions(-)

Approvals:
  Alona Kaplan: Verified
  Jenkins CI: Verified; Looks good to me, but someone else must approve
  Moti Asayag: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id4e6f88f0e3e6ce43d68709e0ec80b44d951bf96
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list