changeset 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 531e776cb81d
children dedd7bbee846
files pkg/imports/st.go
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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(