Mercurial > gemma
diff pkg/imports/agm.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 | 85d0f017fbee |
children | 70c4dc694d61 |
line wrap: on
line diff
--- a/pkg/imports/agm.go Thu Jan 10 15:55:08 2019 +0100 +++ b/pkg/imports/agm.go Thu Jan 10 16:19:26 2019 +0100 @@ -38,6 +38,8 @@ RegisterJobCreator(AGMJobKind, agmJobCreator{}) } +func (agmJobCreator) AutoAccept() bool { return false } + func (agmJobCreator) Description() string { return "approved gauge measurements" }