comparison pkg/imports/wp.go @ 2143:f0641b5ad065

Waterway profile imports: Fixed typo in error message.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 07 Feb 2019 15:12:04 +0100
parents a1f2cfa624cf
children b868cb653c4d
comparison
equal deleted inserted replaced
2142:70471052f6b0 2143:f0641b5ad065
170 } 170 }
171 171
172 summary, err := wp.processCSV( 172 summary, err := wp.processCSV(
173 ctx, importID, tx, start, feedback) 173 ctx, importID, tx, start, feedback)
174 if err != nil { 174 if err != nil {
175 return nil, fmt.Errorf("error processing CVS: %v", err) 175 return nil, fmt.Errorf("error processing CSV: %v", err)
176 } 176 }
177 177
178 if err := tx.Commit(); err != nil { 178 if err := tx.Commit(); err != nil {
179 return nil, fmt.Errorf( 179 return nil, fmt.Errorf(
180 "Importing waterway profiles failed after %s: %v", 180 "Importing waterway profiles failed after %s: %v",