Mercurial > gemma
diff pkg/imports/sr.go @ 2168:b868cb653c4d
Import queue: The job kind parameter when creating a new job from a string was never used.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 08 Feb 2019 15:39:17 +0100 |
parents | 59055c8301df |
children | 7c83b5277c1c |
line wrap: on
line diff
--- a/pkg/imports/sr.go Fri Feb 08 15:30:16 2019 +0100 +++ b/pkg/imports/sr.go Fri Feb 08 15:39:17 2019 +0100 @@ -77,7 +77,7 @@ func (srJobCreator) AutoAccept() bool { return false } -func (srJobCreator) Create(_ JobKind, data string) (Job, error) { +func (srJobCreator) Create(data string) (Job, error) { sr := new(SoundingResult) if err := common.FromJSONString(data, sr); err != nil { return nil, err