Skip to content

Commit

Permalink
Merge pull request #196 from bomoko/feature/invoke_advanced_tasks
Browse files Browse the repository at this point in the history
Fixes thinko magic number hardcoded into task runner
  • Loading branch information
bomoko committed Sep 10, 2021
2 parents 030a69a + 860a058 commit 2800884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/lagoon/environments/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ func (e *Environments) InvokeAdvancedTaskDefinition(projectName string, environm
}
}`,
Variables: map[string]interface{}{
"advancedTaskDefinition": 1,
"advancedTaskDefinition": taskId,
"environment": environmentInfo.ID,
},
MappedResult: "invokeRegisteredTask",
Expand Down

0 comments on commit 2800884

Please sign in to comment.