Skip to content

Commit 55c3fa1

Browse files
committed
Require match type to be set
1 parent 34ce0ae commit 55c3fa1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/app/engine/process_continue_next_action.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ func (e *Engine) nextActions() (actions []*ContinueAction, hints []*ContinueHint
104104

105105
if e.currentState.MatchType == nil || *e.currentState.MatchType == state.MatchType_UNKNOWN_MATCH {
106106
continueFromHalt.ContinuationIssues = append(continueFromHalt.ContinuationIssues, "Match type is not set")
107+
*continueFromHalt.State = ContinueAction_DISABLED
107108
}
108109

109110
actions = append([]*ContinueAction{continueFromHalt}, actions...)

0 commit comments

Comments
 (0)