Skip to content

Commit

Permalink
Do not emit warning on initiators
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Apr 28, 2020
1 parent 84d95da commit d7d19c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/graph/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (w Workflow) Check() error {
if f.Len() == 0 {
err = multierr.Append(err, fmt.Errorf("[%s] chain does not make references", item.AMID()))
}
if t.Len() == 0 {
if t.Len() == 0 && !item.src.Start {
err = multierr.Append(err, fmt.Errorf("[%s] chain is not referenced", item.AMID()))
}
}
Expand Down

0 comments on commit d7d19c1

Please sign in to comment.