Alona Kaplan has uploaded a new change for review.

Change subject: webadmin: Clone Network did not copy the mtu.
......................................................................

webadmin: Clone Network did not copy the mtu.

The "mtu" wasn't copied to the clone object.
It caused "equals" on source and it's clone to return false.

Change-Id: Iaf391892d1f56ac61d7aba279c928eb94f1f3df0
Signed-off-by: Alona Kaplan <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Cloner.java
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/68/9768/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Cloner.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Cloner.java
index 8480c48..9949285 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Cloner.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/Cloner.java
@@ -278,6 +278,7 @@
         obj.setvlan_id(instance.getvlan_id());
         obj.setstp(instance.getstp());
         obj.setstorage_pool_id(instance.getstorage_pool_id());
+        obj.setMtu(instance.getMtu());
         if (instance.getCluster() !=null){
             obj.setCluster(CloneNetworkCluster(instance.getCluster()));
         }


--
To view, visit http://gerrit.ovirt.org/9768
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf391892d1f56ac61d7aba279c928eb94f1f3df0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to