diff pkg/imports/dsr.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 f32d086b5dbf
children 046a07a33b19
line wrap: on
line diff
--- a/pkg/imports/dsr.go	Thu Nov 14 14:53:15 2019 +0100
+++ b/pkg/imports/dsr.go	Mon Nov 18 11:54:20 2019 +0100
@@ -81,9 +81,9 @@
 		return err
 	}
 	if rows == 0 {
-		return errors.New("Deletion failed.  " +
+		return errors.New("deletion failed. " +
 			"Propably Data outside the area of responsibility." +
-			"Or the data was already deleted by another user.")
+			"Or the data was already deleted by another user")
 	}
 	return err
 }