comparison pkg/imports/fa.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 046a07a33b19
children 56c589f7435d
comparison
equal deleted inserted replaced
5033:13d9820c1ea4 5034:59a99655f34d
187 187
188 func (faJobCreator) AutoAccept() bool { return true } 188 func (faJobCreator) AutoAccept() bool { return true }
189 189
190 // StageDone moves the imported fairway availablities out of the staging area. 190 // StageDone moves the imported fairway availablities out of the staging area.
191 // Currently doing nothing. 191 // Currently doing nothing.
192 func (faJobCreator) StageDone(context.Context, *sql.Tx, int64) error { 192 func (faJobCreator) StageDone(context.Context, *sql.Tx, int64, Feedback) error {
193 return nil 193 return nil
194 } 194 }
195 195
196 // CleanUp of a fairway availablities import is a NOP. 196 // CleanUp of a fairway availablities import is a NOP.
197 func (*FairwayAvailability) CleanUp() error { return nil } 197 func (*FairwayAvailability) CleanUp() error { return nil }