Skip to content

Commit

Permalink
fixing lint check on execute return values
Browse files Browse the repository at this point in the history
  • Loading branch information
lucamrgs committed Jul 23, 2024
1 parent 21a549c commit b931a56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion routes/trigger/trigger_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ func (trigger *TriggerApi) Execute(context *gin.Context) {
return
}

go decomposer.Execute(*playbook, trigger.Executionsch)
go func() {
_, _ = decomposer.Execute(*playbook, trigger.Executionsch)
}()

// Hard coding the timer to return execution id
timer := time.NewTimer(time.Duration(3) * time.Second)
Expand Down

0 comments on commit b931a56

Please sign in to comment.