bugfix: Null action map, causing crash on startup actions (#407)

This commit is contained in:
James Read 2024-09-11 17:19:52 +01:00 committed by GitHub
parent 76c9171356
commit 044613ae9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -332,6 +332,10 @@ func stepACLCheck(req *ExecutionRequest) bool {
func stepParseArgs(req *ExecutionRequest) bool {
var err error
if req.Arguments == nil {
req.Arguments = make(map[string]string)
}
req.Arguments["ot_executionTrackingId"] = req.TrackingID
req.Arguments["ot_username"] = req.AuthenticatedUser.Username