comparison 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
comparison
equal deleted inserted replaced
4798:ca6a5f722471 4799:f32d086b5dbf
15 15
16 import ( 16 import (
17 "context" 17 "context"
18 "database/sql" 18 "database/sql"
19 "errors" 19 "errors"
20 "strings"
21 "time" 20 "time"
22 21
23 "gemma.intevation.de/gemma/pkg/models" 22 "gemma.intevation.de/gemma/pkg/models"
24 ) 23 )
25 24
36 // should validate certificates or not. 35 // should validate certificates or not.
37 Insecure bool `json:"insecure"` 36 Insecure bool `json:"insecure"`
38 } 37 }
39 38
40 func (dmv *DistanceMarksVirtual) Description() (string, error) { 39 func (dmv *DistanceMarksVirtual) Description() (string, error) {
41 40 return dmv.URL, nil
42 var descs []string
43
44 descs = append(descs, dmv.URL)
45 return strings.Join(descs, "|"), nil
46 } 41 }
47 42
48 // DMVJobKind is the import queue type identifier. 43 // DMVJobKind is the import queue type identifier.
49 const DMVJobKind JobKind = "dmv" 44 const DMVJobKind JobKind = "dmv"
50 45