Mercurial > gemma
comparison 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 |
comparison
equal
deleted
inserted
replaced
1753:68bd990dd8e5 | 1754:807569b08513 |
---|---|
101 return []string{ | 101 return []string{ |
102 "gauges", | 102 "gauges", |
103 "gauge_measurements", | 103 "gauge_measurements", |
104 } | 104 } |
105 } | 105 } |
106 | |
107 func (gmJobCreator) AutoAccept() bool { return true } | |
106 | 108 |
107 // StageDone moves the imported gauge measurement out of the staging area. | 109 // StageDone moves the imported gauge measurement out of the staging area. |
108 // Currently doing nothing. | 110 // Currently doing nothing. |
109 func (gmJobCreator) StageDone(context.Context, *sql.Tx, int64) error { | 111 func (gmJobCreator) StageDone(context.Context, *sql.Tx, int64) error { |
110 return nil | 112 return nil |