diff pkg/imports/wp.go @ 4799:f32d086b5dbf

Removed the mechanical touch of the last commit.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 25 Oct 2019 18:40:37 +0200
parents ca6a5f722471
children 5062ccb2381d
line wrap: on
line diff
--- a/pkg/imports/wp.go	Fri Oct 25 18:25:38 2019 +0200
+++ b/pkg/imports/wp.go	Fri Oct 25 18:40:37 2019 +0200
@@ -60,12 +60,7 @@
 }
 
 func (wp *WaterwayProfiles) Description() (string, error) {
-
-	var descs []string
-
-	descs = append(descs, wp.URL)
-	descs = append(descs, wp.FeatureType)
-	return strings.Join(descs, "|"), nil
+	return wp.URL + "|" + wp.FeatureType, nil
 }
 
 // WPJobKind is the unique name of this import job type.