Mercurial > gemma
comparison pkg/imports/wp.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 |
comparison
equal
deleted
inserted
replaced
4798:ca6a5f722471 | 4799:f32d086b5dbf |
---|---|
58 // Password is an optional password for Basic Auth. | 58 // Password is an optional password for Basic Auth. |
59 Password string `json:"password,omitempty"` | 59 Password string `json:"password,omitempty"` |
60 } | 60 } |
61 | 61 |
62 func (wp *WaterwayProfiles) Description() (string, error) { | 62 func (wp *WaterwayProfiles) Description() (string, error) { |
63 | 63 return wp.URL + "|" + wp.FeatureType, nil |
64 var descs []string | |
65 | |
66 descs = append(descs, wp.URL) | |
67 descs = append(descs, wp.FeatureType) | |
68 return strings.Join(descs, "|"), nil | |
69 } | 64 } |
70 | 65 |
71 // WPJobKind is the unique name of this import job type. | 66 // WPJobKind is the unique name of this import job type. |
72 const WPJobKind JobKind = "wp" | 67 const WPJobKind JobKind = "wp" |
73 | 68 |