diff pkg/imports/report.go @ 5599:ceecc205011c

Fixed error strings (found by staticcheck).
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 05 Aug 2022 13:10:45 +0200
parents f2204f91d286
children 9967a78e43f4
line wrap: on
line diff
--- a/pkg/imports/report.go	Fri Aug 05 13:06:43 2022 +0200
+++ b/pkg/imports/report.go	Fri Aug 05 13:10:45 2022 +0200
@@ -214,7 +214,7 @@
 	// Generate the actual report.
 	if err := action.Execute(ctx, tx, template); err != nil {
 		log.Errorf("%v\n", err)
-		return nil, fmt.Errorf("Generating report failed: %v", err)
+		return nil, fmt.Errorf("generating report failed: %v", err)
 	}
 
 	var buf bytes.Buffer