diff pkg/controllers/stretches.go @ 4847:4847ac70103a

Made staticcheck happy. - error strings should not end with punctuation or a newline (ST1005) - error strings should not be capitalized (ST1005)
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 18 Nov 2019 11:54:20 +0100
parents 9a4f5f319419
children 7ca9e6c9a203
line wrap: on
line diff
--- a/pkg/controllers/stretches.go	Thu Nov 14 14:53:15 2019 +0100
+++ b/pkg/controllers/stretches.go	Mon Nov 18 11:54:20 2019 +0100
@@ -135,7 +135,7 @@
 	}
 
 	if len(ldc) == 0 {
-		return nil, fmt.Errorf("No LDC found for bottleneck: %s", bn.name)
+		return nil, fmt.Errorf("no LDC found for bottleneck: %s", bn.name)
 	}
 
 	var access func(*availMeasurement) float64