diff pkg/imports/sr.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 819f67c31dfb
children 09349ca27dd7
line wrap: on
line diff
--- a/pkg/imports/sr.go	Thu Jan 10 15:55:08 2019 +0100
+++ b/pkg/imports/sr.go	Thu Jan 10 16:19:26 2019 +0100
@@ -73,9 +73,9 @@
 	RegisterJobCreator(SRJobKind, srJobCreator{})
 }
 
-func (srJobCreator) Description() string {
-	return "sounding results"
-}
+func (srJobCreator) Description() string { return "sounding results" }
+
+func (srJobCreator) AutoAccept() bool { return false }
 
 func (srJobCreator) Create(_ JobKind, data string) (Job, error) {
 	sr := new(SoundingResult)