Mercurial > gemma
comparison pkg/imports/dst.go @ 5034:59a99655f34d
Added feedback support for StageDone.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 20 Mar 2020 12:28:04 +0100 |
parents | e4ab338e7ba9 |
children | 6270951dda28 |
comparison
equal
deleted
inserted
replaced
5033:13d9820c1ea4 | 5034:59a99655f34d |
---|---|
60 // StageDone finally removes the stretch from the database. | 60 // StageDone finally removes the stretch from the database. |
61 func (dstJobCreator) StageDone( | 61 func (dstJobCreator) StageDone( |
62 ctx context.Context, | 62 ctx context.Context, |
63 tx *sql.Tx, | 63 tx *sql.Tx, |
64 id int64, | 64 id int64, |
65 _ Feedback, | |
65 ) error { | 66 ) error { |
66 _, err := tx.ExecContext(ctx, dstStageDoneSQL, id) | 67 _, err := tx.ExecContext(ctx, dstStageDoneSQL, id) |
67 return err | 68 return err |
68 } | 69 } |
69 | 70 |