comparison pkg/imports/gm.go @ 1676:4407ecaa2192

Imports: Cosmetics.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 26 Dec 2018 10:30:19 +0100
parents 819f67c31dfb
children 774174d09d30
comparison
equal deleted inserted replaced
1675:8fec3887c7e5 1676:4407ecaa2192
100 } 100 }
101 } 101 }
102 102
103 // StageDone moves the imported gauge measurement out of the staging area. 103 // StageDone moves the imported gauge measurement out of the staging area.
104 // Currently doing nothing. 104 // Currently doing nothing.
105 func (gmJobCreator) StageDone( 105 func (gmJobCreator) StageDone(context.Context, *sql.Tx, int64) error {
106 ctx context.Context,
107 tx *sql.Tx,
108 id int64,
109 ) error {
110 return nil 106 return nil
111 } 107 }
112 108
113 // CleanUp of a gauge measurement import is a NOP. 109 // CleanUp of a gauge measurement import is a NOP.
114 func (gm *GaugeMeasurement) CleanUp() error { return nil } 110 func (*GaugeMeasurement) CleanUp() error { return nil }
115 111
116 // Do executes the actual bottleneck import. 112 // Do executes the actual bottleneck import.
117 func (gm *GaugeMeasurement) Do( 113 func (gm *GaugeMeasurement) Do(
118 ctx context.Context, 114 ctx context.Context,
119 importID int64, 115 importID int64,