You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ga...@apache.org on 2015/08/13 08:14:45 UTC

stratos git commit: Fixed Removing single quote character being added to ports in PCA

Repository: stratos
Updated Branches:
  refs/heads/master a2749a9ec -> 8391711e0


Fixed Removing single quote character being added to ports in PCA


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

Branch: refs/heads/master
Commit: 8391711e08fb32864d14ebee6962f7c70c6717ce
Parents: a2749a9
Author: Gayan Gunarathne <ga...@wso2.com>
Authored: Thu Aug 13 11:44:17 2015 +0530
Committer: Gayan Gunarathne <ga...@wso2.com>
Committed: Thu Aug 13 11:44:17 2015 +0530

----------------------------------------------------------------------
 .../src/main/python/cartridge.agent/cartridge.agent/config.py      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/8391711e/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/config.py
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/config.py b/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/config.py
index 8ffea6b..ccc1b8f 100644
--- a/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/config.py
+++ b/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/config.py
@@ -264,7 +264,7 @@ class Config:
             Config.application_id = Config.read_property(constants.APPLICATION_ID)
             Config.service_name = Config.read_property(constants.SERVICE_NAME)
             Config.cluster_id = Config.read_property(constants.CLUSTER_ID)
-            Config.ports = Config.read_property(constants.PORTS).split("|")
+            self.ports = str(self.read_property(constants.PORTS)).replace("'","").split("|")
             Config.is_multiTenant = Config.read_property(constants.MULTITENANT)
             Config.tenant_id = Config.read_property(constants.TENANT_ID)