diff pkg/imports/fa.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 d3fe20a13339
line wrap: on
line diff
--- a/pkg/imports/fa.go	Thu Jan 10 15:55:08 2019 +0100
+++ b/pkg/imports/fa.go	Thu Jan 10 16:19:26 2019 +0100
@@ -157,6 +157,8 @@
 	}
 }
 
+func (faJobCreator) AutoAccept() bool { return true }
+
 // StageDone moves the imported fairway availablities out of the staging area.
 // Currently doing nothing.
 func (faJobCreator) StageDone(context.Context, *sql.Tx, int64) error {