You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ch...@apache.org on 2015/04/27 20:16:04 UTC

airavata git commit: validation queue name with trim

Repository: airavata
Updated Branches:
  refs/heads/master 316c78888 -> 19d8e4954


validation queue name with trim


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

Branch: refs/heads/master
Commit: 19d8e495493085e337372c2ad3b22dc96a397c01
Parents: 316c788
Author: Chathuri Wimalasena <ch...@apache.org>
Authored: Mon Apr 27 14:15:56 2015 -0400
Committer: Chathuri Wimalasena <ch...@apache.org>
Committed: Mon Apr 27 14:15:56 2015 -0400

----------------------------------------------------------------------
 .../orchestrator/core/validator/impl/SimpleAppDataValidator.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/19d8e495/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/core/validator/impl/SimpleAppDataValidator.java
----------------------------------------------------------------------
diff --git a/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/core/validator/impl/SimpleAppDataValidator.java b/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/core/validator/impl/SimpleAppDataValidator.java
index d3102b6..21e2ac7 100644
--- a/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/core/validator/impl/SimpleAppDataValidator.java
+++ b/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/core/validator/impl/SimpleAppDataValidator.java
@@ -89,7 +89,7 @@ public class SimpleAppDataValidator implements JobMetadataValidator {
 
             if (batchQueues != null && !batchQueues.isEmpty()){
                 if (computationalResourceScheduling != null){
-                    String queueName = computationalResourceScheduling.getQueueName();
+                    String queueName = computationalResourceScheduling.getQueueName().trim();
                     int wallTimeLimit = computationalResourceScheduling.getWallTimeLimit();
                     ValidatorResult queueNameResult = new ValidatorResult();