Skip to content

Commit

Permalink
Update Readme example - node must have operation
Browse files Browse the repository at this point in the history
  • Loading branch information
s8sg authored May 18, 2020
1 parent 9a69de3 commit 2ce231a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func Define(flow *faasflow.Workflow, context *faasflow.Context) (err error) {
// do something
return data, nil
})
dag.Node("n3")
dag.Node("n3").Apply("func4")
dag.Edge("n1", "n2")
dag.Edge("n2", "n3")
return
Expand Down

0 comments on commit 2ce231a

Please sign in to comment.