diff pkg/imports/modelconvert.go @ 4852:046a07a33b19

Fixed the golint issues of the imports package.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 19 Nov 2019 16:08:55 +0100
parents 3b36c4d810b0
children 8eb36d0d5bdf
line wrap: on
line diff
--- a/pkg/imports/modelconvert.go	Tue Nov 19 15:46:16 2019 +0100
+++ b/pkg/imports/modelconvert.go	Tue Nov 19 16:08:55 2019 +0100
@@ -178,7 +178,7 @@
 	DSRJobKind: func(input interface{}) interface{} {
 		dsr := input.(*models.SoundingResultDelete)
 		return &DeleteSoundingResult{
-			BottleneckId: dsr.BottleneckId,
+			BottleneckID: dsr.BottleneckId,
 			Date:         dsr.Date,
 		}
 	},