diff pkg/imports/wg.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/wg.go	Fri Oct 25 18:25:38 2019 +0200
+++ b/pkg/imports/wg.go	Fri Oct 25 18:40:37 2019 +0200
@@ -17,7 +17,6 @@
 import (
 	"context"
 	"database/sql"
-	"strings"
 	"time"
 
 	"github.com/jackc/pgx/pgtype"
@@ -42,11 +41,7 @@
 }
 
 func (wg *WaterwayGauge) Description() (string, error) {
-
-	var descs []string
-
-	descs = append(descs, wg.URL)
-	return strings.Join(descs, "|"), nil
+	return wg.URL, nil
 }
 
 // WGJobKind is the unique name of this import job type.