comparison pkg/imports/wg.go @ 3459:de02dae6f7a8

Minor change to new warning for consistency.
author Sascha Wilde <wilde@intevation.de>
date Fri, 24 May 2019 18:06:58 +0200
parents aa3c83fb7018
children 50d40ed6e3da
comparison
equal deleted inserted replaced
3458:aa3c83fb7018 3459:de02dae6f7a8
235 gauges = append(gauges, isrs) 235 gauges = append(gauges, isrs)
236 feedback.Info("Processing %s", code) 236 feedback.Info("Processing %s", code)
237 237
238 // We need a valid time range to identify gauge versions in DB 238 // We need a valid time range to identify gauge versions in DB
239 if time.Time(*dr.Enddate).Before(time.Time(*dr.Startdate)) { 239 if time.Time(*dr.Enddate).Before(time.Time(*dr.Startdate)) {
240 feedback.Warn("End date before start date. Ignored") 240 feedback.Warn("End date before start date")
241 unchanged++ 241 unchanged++
242 continue 242 continue
243 } 243 }
244 244
245 var from, to sql.NullInt64 245 var from, to sql.NullInt64