Skip to content

Commit

Permalink
Fix the rover workflow delete command issue
Browse files Browse the repository at this point in the history
  • Loading branch information
parauliya committed Nov 15, 2019
1 parent e69d084 commit 07e33ad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions db/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,7 @@ func DeleteWorkflow(ctx context.Context, db *sql.DB, id string, state int32) err
deleted_at = NOW()
WHERE
id = $1
AND
state != $2;
`, id, state)
`, id)
if err != nil {
return errors.Wrap(err, "UPDATE")
}
Expand Down

0 comments on commit 07e33ad

Please sign in to comment.