You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/05/30 19:04:09 UTC

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

Repository: stratos
Updated Branches:
  refs/heads/master 00aff204f -> 819f96e57


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/819f96e5
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/819f96e5
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/819f96e5

Branch: refs/heads/master
Commit: 819f96e57c998841a9a687c3c728d145e9f9e6ee
Parents: 00aff20
Author: Imesh Gunaratne <im...@apache.org>
Authored: Sat May 30 18:03:58 2015 +0100
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Sat May 30 18:03:58 2015 +0100

----------------------------------------------------------------------
 .../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/819f96e5/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 ea80ee8..7be2e26 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
@@ -136,7 +136,7 @@ class CartridgeAgentConfiguration:
                 self.cartridge_key = self.read_property(constants.CARTRIDGE_KEY)
                 self.app_path = self.read_property(constants.APPLICATION_PATH, False)
                 self.repo_url = self.read_property(constants.REPO_URL, False)
-                self.ports = str(self.read_property(constants.PORTS)).split("|")
+                self.ports = str(self.read_property(constants.PORTS)).replace("'","").split("|")
                 self.dependant_cluster_id = self.read_property(constants.DEPENDENCY_CLUSTER_IDS, False)
                 self.export_metadata_keys = self.read_property(constants.EXPORT_METADATA_KEYS, False)
                 self.import_metadata_keys = self.read_property(constants.IMPORT_METADATA_KEYS, False)