cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yas...@apache.org
Subject git commit: updated refs/heads/master to fd2e8c9
Date Sat, 09 Nov 2013 02:33:04 GMT
Updated Branches:
  refs/heads/master 333be7de4 -> fd2e8c9ac


Redundant Router: Fix priority records in db


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/fd2e8c9a
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fd2e8c9a
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/fd2e8c9a

Branch: refs/heads/master
Commit: fd2e8c9ac446b6c3fc43710ffa3fd631023fa9b1
Parents: 333be7d
Author: Sheng Yang <sheng.yang@citrix.com>
Authored: Fri Nov 8 18:27:31 2013 -0800
Committer: Sheng Yang <sheng.yang@citrix.com>
Committed: Fri Nov 8 18:27:31 2013 -0800

----------------------------------------------------------------------
 .../cloud/network/router/VirtualNetworkApplianceManagerImpl.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fd2e8c9a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
index 7ab7580..5ac03b0 100755
--- a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
+++ b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
@@ -2060,6 +2060,7 @@ public class VirtualNetworkApplianceManagerImpl extends ManagerBase
implements V
             try {
                 int priority = getUpdatedPriority(guestNetwork, routers, router);
                 router.setPriority(priority);
+                router = _routerDao.persist(router);
             } catch (InsufficientVirtualNetworkCapcityException e) {
                 s_logger.error("Failed to get update priority!", e);
                 throw new CloudRuntimeException("Failed to get update priority!");


Mime
View raw message