Mercurial > gemma
comparison pkg/controllers/srimports.go @ 1754:807569b08513
Import queue: Auto acceptance is now a property of the import kind itself and is not configurable any more.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 10 Jan 2019 16:19:26 +0100 |
parents | 49e047c2106e |
children | b0bf7533deec |
comparison
equal
deleted
inserted
replaced
1753:68bd990dd8e5 | 1754:807569b08513 |
---|---|
182 | 182 |
183 jobID, err := imports.AddJob( | 183 jobID, err := imports.AddJob( |
184 imports.SRJobKind, | 184 imports.SRJobKind, |
185 due, retries, | 185 due, retries, |
186 session.User, | 186 session.User, |
187 sendEmail, false, | 187 sendEmail, |
188 serialized) | 188 serialized) |
189 | 189 |
190 if err != nil { | 190 if err != nil { |
191 log.Printf("error: %v\n", err) | 191 log.Printf("error: %v\n", err) |
192 http.Error(rw, "error: "+err.Error(), http.StatusInternalServerError) | 192 http.Error(rw, "error: "+err.Error(), http.StatusInternalServerError) |