Mercurial > gemma
diff pkg/imports/bn.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 | 6ee06eb37fa9 |
children | 07f996b0e14a |
line wrap: on
line diff
--- a/pkg/imports/bn.go Thu Dec 20 15:20:49 2018 +0100 +++ b/pkg/imports/bn.go Thu Dec 20 15:33:29 2018 +0100 @@ -79,6 +79,10 @@ RegisterJobCreator(BNJobKind, bnJobCreator{}) } +func (bnJobCreator) Description() string { + return "bottlenecks" +} + func (bnJobCreator) Create(_ JobKind, data string) (Job, error) { bn := new(Bottleneck) if err := common.FromJSONString(data, bn); err != nil {