Mercurial > gemma
diff pkg/imports/st.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/st.go Fri Feb 08 15:30:16 2019 +0100 +++ b/pkg/imports/st.go Fri Feb 08 15:39:17 2019 +0100 @@ -46,7 +46,7 @@ func (stJobCreator) AutoAccept() bool { return false } -func (stJobCreator) Create(_ JobKind, data string) (Job, error) { +func (stJobCreator) Create(data string) (Job, error) { st := new(Stretch) if err := common.FromJSONString(data, st); err != nil { return nil, err