Mercurial > gemma
comparison pkg/imports/gm.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 | 76e2c627dc6d |
comparison
equal
deleted
inserted
replaced
4798:ca6a5f722471 | 4799:f32d086b5dbf |
---|---|
39 // should validate certificates or not. | 39 // should validate certificates or not. |
40 Insecure bool `json:"insecure"` | 40 Insecure bool `json:"insecure"` |
41 } | 41 } |
42 | 42 |
43 func (gm *GaugeMeasurement) Description() (string, error) { | 43 func (gm *GaugeMeasurement) Description() (string, error) { |
44 | 44 return gm.URL, nil |
45 var descs []string | |
46 | |
47 descs = append(descs, gm.URL) | |
48 return strings.Join(descs, "|"), nil | |
49 } | 45 } |
50 | 46 |
51 // GMJobKind is the import queue type identifier. | 47 // GMJobKind is the import queue type identifier. |
52 const GMJobKind JobKind = "gm" | 48 const GMJobKind JobKind = "gm" |
53 | 49 |