diff pkg/imports/st.go @ 2261:c5bbe2409a52

Stretch import: Call Stringer for ISRS codes directly when logging range.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 14 Feb 2019 11:21:33 +0100
parents cce158db02b0
children 6b34d0fb4498
line wrap: on
line diff
--- a/pkg/imports/st.go	Thu Feb 14 10:35:32 2019 +0100
+++ b/pkg/imports/st.go	Thu Feb 14 11:21:33 2019 +0100
@@ -170,7 +170,7 @@
 		nobjnm = sql.NullString{String: *st.NObjNam, Valid: true}
 	}
 
-	feedback.Info("Stretch from %s to %s.", st.From, st.To)
+	feedback.Info("Stretch from %s to %s.", st.From.String(), st.To.String())
 
 	var id int64
 	if err := tx.QueryRowContext(