Mercurial > gemma
diff pkg/imports/sr.go @ 1646:a0982c38eac0
Import queue: Implemented email notifications.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 20 Dec 2018 15:33:29 +0100 |
parents | 056a86b24be2 |
children | 819f67c31dfb |
line wrap: on
line diff
--- a/pkg/imports/sr.go Thu Dec 20 15:20:49 2018 +0100 +++ b/pkg/imports/sr.go Thu Dec 20 15:33:29 2018 +0100 @@ -73,6 +73,10 @@ RegisterJobCreator(SRJobKind, srJobCreator{}) } +func (srJobCreator) Description() string { + return "sounding results" +} + func (srJobCreator) Create(_ JobKind, data string) (Job, error) { sr := new(SoundingResult) if err := common.FromJSONString(data, sr); err != nil {