Alona Kaplan has uploaded a new change for review.

Change subject: webadmin: move 'set safe' after changing 'num of vfs'
......................................................................

webadmin: move 'set safe' after changing 'num of vfs'

'NumOfVfs' is beeing persisted after setting- 'set safe'.
Since the setup networks command sent the 'set safe' before
changing the num of vfs, the persisteny worked just in the second cycle of
set safe.

Change-Id: Ia5ab0b7953b65e2d4eeeda7336693c97da766fd9
Signed-off-by: Alona Kaplan <alkap...@redhat.com>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/22/41522/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
index 10d113b..cecde21 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostSetupNetworksModel.java
@@ -1072,7 +1072,7 @@
         SimpleAction closeAction = getCloseAction();
         UiAction setupNetworks = new UiVdcAction(VdcActionType.SetupNetworks, 
params, this, true);
 
-        
setupNetworks.then(getCommitNetworkChangesAction()).then(getVfsConfigAction()).onAllExecutionsFinish(closeAction);
+        
setupNetworks.then(getVfsConfigAction()).then(getCommitNetworkChangesAction()).onAllExecutionsFinish(closeAction);
 
         setupNetworks.runAction();
     }


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia5ab0b7953b65e2d4eeeda7336693c97da766fd9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <alkap...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to