Mercurial > gemma
diff pkg/imports/wa.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/wa.go Fri Oct 25 18:25:38 2019 +0200 +++ b/pkg/imports/wa.go Fri Oct 25 18:40:37 2019 +0200 @@ -22,7 +22,6 @@ "fmt" "io" "strconv" - "strings" "time" "gemma.intevation.de/gemma/pkg/pgxutils" @@ -47,12 +46,7 @@ } func (wa *WaterwayArea) Description() (string, error) { - - var descs []string - - descs = append(descs, wa.URL) - descs = append(descs, wa.FeatureType) - return strings.Join(descs, "|"), nil + return wa.URL + "|" + wa.FeatureType, nil } // WAJobKind is the import queue type identifier.