This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch staging
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/staging by this push:
     new 3f68a88  Creating cancellation workflow even though relevant workflows 
are not available
3f68a88 is described below

commit 3f68a88febe5c7997d2c2627fd720fbdda278494
Author: Dimuthu Wannipurage <dimuthu.wannipur...@datasprouts.com>
AuthorDate: Thu Nov 1 23:24:45 2018 -0400

    Creating cancellation workflow even though relevant workflows are not 
available
---
 .../org/apache/airavata/helix/impl/workflow/PreWorkflowManager.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PreWorkflowManager.java
 
b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PreWorkflowManager.java
index a0a2f67..922c89d 100644
--- 
a/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PreWorkflowManager.java
+++ 
b/modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/workflow/PreWorkflowManager.java
@@ -174,8 +174,7 @@ public class PreWorkflowManager extends WorkflowManager {
             }
 
         } else {
-            logger.info("No workflow registered with process " + processId + " 
to cancel");
-            return null;
+            logger.warn("No workflow registered with process " + processId + " 
to cancel");
         }
 
         RemoteJobCancellationTask rjct = new RemoteJobCancellationTask();

Reply via email to