You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2013/02/19 08:54:36 UTC
git commit: refs/heads/4.1 - CLOUDSTACK-1320: listroutercmd: response
should be set to the name of router
Updated Branches:
refs/heads/4.1 9cb9f45a0 -> b51ee1819
CLOUDSTACK-1320: listroutercmd: response should be set to the name of router
host name of router's resident host returned instead of the name of the
router. correcting the setter.
Signed-off-by: Prasanna Santhanam <ts...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/b51ee181
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/b51ee181
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/b51ee181
Branch: refs/heads/4.1
Commit: b51ee1819acaa5b827cc57513ff70704092f3274
Parents: 9cb9f45
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Tue Feb 19 12:26:23 2013 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Tue Feb 19 13:23:32 2013 +0530
----------------------------------------------------------------------
.../api/query/dao/DomainRouterJoinDaoImpl.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b51ee181/server/src/com/cloud/api/query/dao/DomainRouterJoinDaoImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/query/dao/DomainRouterJoinDaoImpl.java b/server/src/com/cloud/api/query/dao/DomainRouterJoinDaoImpl.java
index 96b91df..3b780ee 100644
--- a/server/src/com/cloud/api/query/dao/DomainRouterJoinDaoImpl.java
+++ b/server/src/com/cloud/api/query/dao/DomainRouterJoinDaoImpl.java
@@ -68,7 +68,7 @@ public class DomainRouterJoinDaoImpl extends GenericDaoBase<DomainRouterJoinVO,
DomainRouterResponse routerResponse = new DomainRouterResponse();
routerResponse.setId(router.getUuid());
routerResponse.setZoneId(router.getDataCenterUuid());
- routerResponse.setName(router.getHostName());
+ routerResponse.setName(router.getName());
routerResponse.setTemplateId(router.getTemplateUuid());
routerResponse.setCreated(router.getCreated());
routerResponse.setState(router.getState());