Skip to content

Commit

Permalink
fix option is null
Browse files Browse the repository at this point in the history
  • Loading branch information
NortonBen committed Oct 25, 2022
1 parent 7b562d6 commit 28bf299
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/management.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ func (d *DipperEngine) handlerOutput(ctx context.Context, dataOutput *data.Outpu
for _, nextId := range dataOutput.Next {
node, ok := sessionInfo.MapNode[nextId]
if ok {
if node.Option == nil {
node.Option = map[string]interface{}{}
}
node.Option["debug"] = node.Debug
ruleQueue, ok := d.mapQueueInputRule[node.RuleId]
if ok {
Expand Down

0 comments on commit 28bf299

Please sign in to comment.