airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata git commit: fixing AIRAVATA-1836
Date Mon, 19 Oct 2015 21:36:26 GMT
Repository: airavata
Updated Branches:
  refs/heads/master c5778f452 -> 4293dc438


fixing AIRAVATA-1836


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

Branch: refs/heads/master
Commit: 4293dc438adc768c6861a6d7946acd0bec32b513
Parents: c5778f4
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Mon Oct 19 17:36:18 2015 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Mon Oct 19 17:36:18 2015 -0400

----------------------------------------------------------------------
 .../registry/core/app/catalog/impl/ApplicationDeploymentImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/4293dc43/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/ApplicationDeploymentImpl.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/ApplicationDeploymentImpl.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/ApplicationDeploymentImpl.java
index 3a5d5cc..0a8099f 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/ApplicationDeploymentImpl.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/ApplicationDeploymentImpl.java
@@ -164,7 +164,7 @@ public class ApplicationDeploymentImpl implements ApplicationDeployment
{
             existingDep.setAppDes(updatedDeployment.getAppDeploymentDescription());
             existingDep.setExecutablePath(updatedDeployment.getExecutablePath());
             if (updatedDeployment.getParallelism() != null){
-                deploymentResource.setParallelism(updatedDeployment.getParallelism().toString());
+                existingDep.setParallelism(updatedDeployment.getParallelism().toString());
             }
 
             existingDep.save();


Mime
View raw message