8000 fix(api): bad concat of ids for run to delete (#3762) · ovh/cds@355d53f · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 355d53f

Browse files
richardltyesnault
authored andcommitted
fix(api): bad concat of ids for run to delete (#3762)
1 parent b7f6df3 commit 355d53f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/api/workflow/dao_run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ func PurgeWorkflowRun(db gorp.SqlExecutor, wf sdk.Workflow) error {
701701
idsStr = append(idsStr, id)
702702
}
703703
}
704-
idsToUpdate = append(idsToUpdate, strings.Join(idsStr, ","))
704+
idsToUpdate = append(idsToUpdate, idsStr...)
705705
}
706706
}
707707

0 commit comments

Comments
 (0)
0