Change in ovirt-engine[master]: backend: avoid cast exception in VdsBrokerObjectsBuilder

alkaplan at redhat.com alkaplan at redhat.com
Wed Dec 23 14:38:44 UTC 2015


Alona Kaplan has submitted this change and it was merged.

Change subject: backend: avoid cast exception in VdsBrokerObjectsBuilder
......................................................................


backend: avoid cast exception in VdsBrokerObjectsBuilder

VdsBrokerObjectsBuilder.updateCommonInterfaceData can return a String or
an Integer (depends on the vdsm version).
This patch enables us to work with both return types.

Change-Id: I4932f924288b15b11000e6e3b1d4cee83f7cf50b
Bug-Url: https://bugzilla.redhat.com/1293881
Signed-off-by: Idan Shaby <ishaby at redhat.com>
---
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/VdsBrokerObjectsBuilder.java
1 file changed, 5 insertions(+), 3 deletions(-)

Approvals:
  Alona Kaplan: Looks good to me, approved; Passed CI tests
  Idan Shaby: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4932f924288b15b11000e6e3b1d4cee83f7cf50b
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Freddy Rolland <frolland at redhat.com>
Gerrit-Reviewer: Idan Shaby <ishaby at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: Yevgeny Zaspitsky <yzaspits at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list