Mercurial > gemma
comparison pkg/controllers/imports.go @ 1010:8f23ec811afb
Fixed and harmonized wording in importer queue a bit.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 23 Oct 2018 10:14:41 +0200 |
parents | 75e65599ea52 |
children | a244b18cb916 |
comparison
equal
deleted
inserted
replaced
1009:76e9296d6191 | 1010:8f23ec811afb |
---|---|
71 log.Printf("error: %v\n", err) | 71 log.Printf("error: %v\n", err) |
72 http.Error(rw, "error: "+err.Error(), http.StatusInternalServerError) | 72 http.Error(rw, "error: "+err.Error(), http.StatusInternalServerError) |
73 return | 73 return |
74 } | 74 } |
75 | 75 |
76 log.Printf("Added job %d\n", jobID) | 76 log.Printf("info: added import #%d to queue\n", jobID) |
77 | 77 |
78 result := struct { | 78 result := struct { |
79 ID int64 `json:"id"` | 79 ID int64 `json:"id"` |
80 }{ | 80 }{ |
81 ID: jobID, | 81 ID: jobID, |