Mercurial > gemma
changeset 1676:4407ecaa2192
Imports: Cosmetics.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 26 Dec 2018 10:30:19 +0100 |
parents | 8fec3887c7e5 |
children | 53304db85888 |
files | pkg/imports/bn.go pkg/imports/fa.go pkg/imports/gm.go |
diffstat | 3 files changed, 5 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/imports/bn.go Wed Dec 26 10:25:49 2018 +0100 +++ b/pkg/imports/bn.go Wed Dec 26 10:30:19 2018 +0100 @@ -118,7 +118,7 @@ } // CleanUp of a bottleneck import is a NOP. -func (bn *Bottleneck) CleanUp() error { return nil } +func (*Bottleneck) CleanUp() error { return nil } var rblbRe = regexp.MustCompile(`(..)_(..)`)
--- a/pkg/imports/fa.go Wed Dec 26 10:25:49 2018 +0100 +++ b/pkg/imports/fa.go Wed Dec 26 10:30:19 2018 +0100 @@ -152,16 +152,12 @@ // StageDone moves the imported fairway availablities out of the staging area. // Currently doing nothing. -func (faJobCreator) StageDone( - ctx context.Context, - tx *sql.Tx, - id int64, -) error { +func (faJobCreator) StageDone(context.Context, *sql.Tx, int64) error { return nil } // CleanUp of a fairway availablities import is a NOP. -func (fa *FairwayAvailability) CleanUp() error { return nil } +func (*FairwayAvailability) CleanUp() error { return nil } // Do executes the actual fairway availability import. func (fa *FairwayAvailability) Do(
--- a/pkg/imports/gm.go Wed Dec 26 10:25:49 2018 +0100 +++ b/pkg/imports/gm.go Wed Dec 26 10:30:19 2018 +0100 @@ -102,16 +102,12 @@ // StageDone moves the imported gauge measurement out of the staging area. // Currently doing nothing. -func (gmJobCreator) StageDone( - ctx context.Context, - tx *sql.Tx, - id int64, -) error { +func (gmJobCreator) StageDone(context.Context, *sql.Tx, int64) error { return nil } // CleanUp of a gauge measurement import is a NOP. -func (gm *GaugeMeasurement) CleanUp() error { return nil } +func (*GaugeMeasurement) CleanUp() error { return nil } // Do executes the actual bottleneck import. func (gm *GaugeMeasurement) Do(