airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samin...@apache.org
Subject git commit: fixing var name type
Date Fri, 23 May 2014 13:25:13 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 3c19939ba -> f0f9ac94d


fixing var name type


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

Branch: refs/heads/master
Commit: f0f9ac94d3fb22f8ce7d7d2151b830283a58539e
Parents: 3c19939
Author: Saminda Wijeratne <samindaw@gmail.com>
Authored: Fri May 23 06:25:00 2014 -0700
Committer: Saminda Wijeratne <samindaw@gmail.com>
Committed: Fri May 23 06:25:00 2014 -0700

----------------------------------------------------------------------
 .../src/main/resources/lib/AiravataClientFactory.php     | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/f0f9ac94/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/AiravataClientFactory.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/AiravataClientFactory.php
b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/AiravataClientFactory.php
index 04080c2..f5b987a 100644
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/AiravataClientFactory.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/AiravataClientFactory.php
@@ -37,23 +37,24 @@ class AiravataClientFactory
         $this->airavataServerHost = isset($options['airavataServerHost']) ? $options['airavataServerHost']
: null;
         $this->airavataServerPort = isset($options['airavataServerPort']) ? $options['airavataServerPort']
: null;
 
-	$this->airavataServerHost = isset($options['appCatalogServerHost']) ? $options['appCatalogServerHost']
: null;
-        $this->airavataServerPort = isset($options['appCatalogServerPort']) ? $options['appCatalogServerPort']
: null;
+		$this->appCatalogServerHost = isset($options['appCatalogServerHost']) ? $options['appCatalogServerHost']
: null;
+        $this->appCatalogServerPort = isset($options['appCatalogServerPort']) ? $options['appCatalogServerPort']
: null;
     }
 
     public function getAiravataClient()
     {
         $transport = new TSocket($this->airavataServerHost, $this->airavataServerPort);
         $protocol = new TBinaryProtocol($transport);
-	$transport->open();
+	    $transport->open();
         return new AiravataClient($protocol);
     }
 
     public function getApplicationCatalogClient()
     {
-        $transport = new TSocket($this->airavataServerHost, $this->airavataServerPort);
+        $transport = new TSocket($this->appCatalogServerHost, $this->appCatalogServerPort);
         $protocol = new TBinaryProtocol($transport);
-	$transport->open();
+		$transport->open();
         return new AiravataClient($protocol);
     }
 }
+


Mime
View raw message