Mercurial > gemma
diff pkg/imports/gm.go @ 1754:807569b08513
Import queue: Auto acceptance is now a property of the import kind itself and is not configurable any more.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 10 Jan 2019 16:19:26 +0100 |
parents | ad5e1cddaa09 |
children | 0145537d5474 |
line wrap: on
line diff
--- a/pkg/imports/gm.go Thu Jan 10 15:55:08 2019 +0100 +++ b/pkg/imports/gm.go Thu Jan 10 16:19:26 2019 +0100 @@ -104,6 +104,8 @@ } } +func (gmJobCreator) AutoAccept() bool { return true } + // StageDone moves the imported gauge measurement out of the staging area. // Currently doing nothing. func (gmJobCreator) StageDone(context.Context, *sql.Tx, int64) error {