diff pkg/imports/dma.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/dma.go	Fri Oct 25 18:25:38 2019 +0200
+++ b/pkg/imports/dma.go	Fri Oct 25 18:40:37 2019 +0200
@@ -20,7 +20,6 @@
 	"errors"
 	"fmt"
 	"io"
-	"strings"
 	"time"
 
 	"gemma.intevation.de/gemma/pkg/wfs"
@@ -43,12 +42,7 @@
 }
 
 func (dma *DistanceMarksAshore) Description() (string, error) {
-
-	var descs []string
-
-	descs = append(descs, dma.URL)
-	descs = append(descs, dma.FeatureType)
-	return strings.Join(descs, "|"), nil
+	return dma.URL + "|" + dma.FeatureType, nil
 }
 
 // DMAJobKind is the import queue type identifier.