airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machristie <...@git.apache.org>
Subject [GitHub] airavata-php-gateway pull request #70: [AIRAVATA-2521] Ability define gatewa...
Date Mon, 02 Oct 2017 13:38:07 GMT
Github user machristie commented on a diff in the pull request:

    https://github.com/apache/airavata-php-gateway/pull/70#discussion_r142139225
  
    --- Diff: app/libraries/ExperimentUtilities.php ---
    @@ -1422,7 +1422,25 @@ public static function get_transfer_details($experimentId)
         public static function getQueueDatafromResourceId($crId)
         {
             $resourceObject = Airavata::getComputeResource(Session::get('authz-token'), $crId);
    -        return $resourceObject->batchQueues;
    +        $queues =  $resourceObject->batchQueues;
    +
    +        //Defining maximum allowed value for queue resources
    +        $maxNodeCount = Config::get('pga_config.airavata')["max-node-count"];
    --- End diff --
    
    Need to check whether the config value exists first.  It won't exist for most gateways.


---

Mime
View raw message