cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alena1...@apache.org
Subject [2/2] git commit: updated refs/heads/master to da53ef1
Date Thu, 30 May 2013 22:24:54 GMT
ApiServer: replaced hardcoded value of the integration.api.port paramter with the reference
to the actual paramter name


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

Branch: refs/heads/master
Commit: 62ad6c4519a846625f5a7223fb4740d0651efb5c
Parents: 800cd39
Author: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Authored: Thu May 30 15:00:29 2013 -0700
Committer: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Committed: Thu May 30 15:21:31 2013 -0700

----------------------------------------------------------------------
 server/src/com/cloud/api/ApiServer.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/62ad6c45/server/src/com/cloud/api/ApiServer.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/ApiServer.java b/server/src/com/cloud/api/ApiServer.java
index b3098d1..08468c4 100755
--- a/server/src/com/cloud/api/ApiServer.java
+++ b/server/src/com/cloud/api/ApiServer.java
@@ -195,7 +195,7 @@ public class ApiServer extends ManagerBase implements HttpRequestHandler,
ApiSer
     public void init() {
         Integer apiPort = null; // api port, null by default
         SearchCriteria<ConfigurationVO> sc = _configDao.createSearchCriteria();
-        sc.addAnd("name", SearchCriteria.Op.EQ, "integration.api.port");
+        sc.addAnd("name", SearchCriteria.Op.EQ, Config.IntegrationAPIPort.key());
         List<ConfigurationVO> values = _configDao.search(sc, null);
         if ((values != null) && (values.size() > 0)) {
             ConfigurationVO apiPortConfig = values.get(0);


Mime
View raw message