diff pkg/imports/dmv.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 046a07a33b19
line wrap: on
line diff
--- a/pkg/imports/dmv.go	Fri Oct 25 18:25:38 2019 +0200
+++ b/pkg/imports/dmv.go	Fri Oct 25 18:40:37 2019 +0200
@@ -17,7 +17,6 @@
 	"context"
 	"database/sql"
 	"errors"
-	"strings"
 	"time"
 
 	"gemma.intevation.de/gemma/pkg/models"
@@ -38,11 +37,7 @@
 }
 
 func (dmv *DistanceMarksVirtual) Description() (string, error) {
-
-	var descs []string
-
-	descs = append(descs, dmv.URL)
-	return strings.Join(descs, "|"), nil
+	return dmv.URL, nil
 }
 
 // DMVJobKind is the import queue type identifier.