diff pkg/imports/st.go @ 4177:8b75ac5e243e

Made 'staticcheck' happy with pgxutils package.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 05 Aug 2019 17:16:46 +0200
parents c489c78ed525
children a376351d2774
line wrap: on
line diff
--- a/pkg/imports/st.go	Mon Aug 05 16:58:53 2019 +0200
+++ b/pkg/imports/st.go	Mon Aug 05 17:16:46 2019 +0200
@@ -159,7 +159,7 @@
 	feedback.Info("Storing stretch '%s'", st.Name)
 
 	if len(st.Countries) == 0 {
-		return nil, errors.New("List of countries is empty")
+		return nil, errors.New("list of countries is empty")
 	}
 
 	tx, err := conn.BeginTx(ctx, nil)