You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by jx...@apache.org on 2017/12/20 17:54:08 UTC

[05/50] [abbrv] helix git commit: Fix build the workflowconfig by fromHelixProperty

Fix build the workflowconfig by fromHelixProperty


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

Branch: refs/heads/master
Commit: c73f692f494e3adedbcf89a6f8444b14f15bbcc4
Parents: 3948840
Author: Junkai Xue <jx...@linkedin.com>
Authored: Tue Aug 29 13:17:33 2017 -0700
Committer: Junkai Xue <jx...@linkedin.com>
Committed: Mon Nov 6 17:07:15 2017 -0800

----------------------------------------------------------------------
 helix-core/src/main/java/org/apache/helix/task/WorkflowConfig.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/helix/blob/c73f692f/helix-core/src/main/java/org/apache/helix/task/WorkflowConfig.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/task/WorkflowConfig.java b/helix-core/src/main/java/org/apache/helix/task/WorkflowConfig.java
index a7c54b0..b02fc8c 100644
--- a/helix-core/src/main/java/org/apache/helix/task/WorkflowConfig.java
+++ b/helix-core/src/main/java/org/apache/helix/task/WorkflowConfig.java
@@ -310,7 +310,7 @@ public class  WorkflowConfig extends ResourceConfig {
       throw new IllegalArgumentException(
           String.format("%s is an invalid WorkflowConfig", property.getId()));
     }
-    return Builder.fromMap(configs).build();
+    return Builder.fromMap(configs).setWorkflowId(property.getId()).build();
   }
 
   public static class Builder {