Asaf Shakarchi has uploaded a new change for review. Change subject: webadmin: Fixing infinent loop in NewGuideVmInterfaceModel. ......................................................................
webadmin: Fixing infinent loop in NewGuideVmInterfaceModel. Fix for the static invocation of NewGuideVmInterfaceModel.createInstance from the same method, which causes an infinent loop. Change-Id: I94b0db601a0b88b8083eabd5e285bdb1b3168d38 Signed-off-by: Asaf Shakarchi <[email protected]> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/NewGuideVmInterfaceModel.java 1 file changed, 1 insertion(+), 2 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/21/11721/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/NewGuideVmInterfaceModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/NewGuideVmInterfaceModel.java index 5feac06..327a2f7 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/NewGuideVmInterfaceModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/NewGuideVmInterfaceModel.java @@ -14,8 +14,7 @@ Version clusterCompatibilityVersion, ArrayList<VmNetworkInterface> vmNicList, EntityModel sourceModel) { - NewGuideVmInterfaceModel instance = - NewGuideVmInterfaceModel.createInstance(vm, clusterCompatibilityVersion, vmNicList, sourceModel); + NewGuideVmInterfaceModel instance = new NewGuideVmInterfaceModel(vm, clusterCompatibilityVersion, vmNicList, sourceModel); instance.init(); return instance; } -- To view, visit http://gerrit.ovirt.org/11721 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I94b0db601a0b88b8083eabd5e285bdb1b3168d38 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Asaf Shakarchi <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
