Skip to content

Commit

Permalink
fix(api): FindOldestWorkflowRunsWithResultToSync (#6638)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsamin authored Oct 11, 2023
1 parent e728821 commit 4110eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/api/workflow/workflow_run_results.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ type ArtifactSignature map[string]string
func FindOldestWorkflowRunsWithResultToSync(ctx context.Context, dbmap *gorp.DbMap) ([]int64, error) {
var results []int64
query := `
select distinct workflow_run_result.workflow_run_id, workflow_node_run.status
select distinct workflow_run_result.workflow_run_id
from workflow_run_result
join workflow_node_run on workflow_node_run.id = workflow_run_result.workflow_node_run_id
where sync is NULL
Expand Down

0 comments on commit 4110eb8

Please sign in to comment.