rename files

This commit is contained in:
kartikgupta-db 2023-09-05 17:17:49 +02:00
parent f7c733a72b
commit 66d3aa24a1
No known key found for this signature in database
GPG Key ID: 6AD5FA11FACDEA39
3 changed files with 4 additions and 3 deletions

View File

@ -39,11 +39,12 @@ func NewTrampoline(
func GetTasksWithJobKeyBy(b *bundle.Bundle, filter func(*jobs.Task) bool) []TaskWithJobKey {
tasks := make([]TaskWithJobKey, 0)
for k := range b.Config.Resources.Jobs {
for _, t := range b.Config.Resources.Jobs[k].Tasks {
if filter(&t) {
for i := range b.Config.Resources.Jobs[k].Tasks {
t := &b.Config.Resources.Jobs[k].Tasks[i]
if filter(t) {
tasks = append(tasks, TaskWithJobKey{
JobKey: k,
Task: &t,
Task: t,
})
}
}