Skip to content

Commit

Permalink
fix(api): bad concat of ids for run to delete (#3762)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlt authored and yesnault committed Dec 21, 2018
1 parent b7f6df3 commit 355d53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/api/workflow/dao_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ func PurgeWorkflowRun(db gorp.SqlExecutor, wf sdk.Workflow) error {
idsStr = append(idsStr, id)
}
}
idsToUpdate = append(idsToUpdate, strings.Join(idsStr, ","))
idsToUpdate = append(idsToUpdate, idsStr...)
}
}

Expand Down

0 comments on commit 355d53f

Please sign in to comment.