Mercurial > gemma
diff pkg/imports/report.go @ 5328:bc8c082487b2 extented-report
Fixed compile errors. :-/
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 30 May 2021 19:53:04 +0200 |
parents | 96ceb150ea46 |
children | 795a0a0b5047 |
line wrap: on
line diff
--- a/pkg/imports/report.go Sun May 30 13:18:50 2021 +0200 +++ b/pkg/imports/report.go Sun May 30 19:53:04 2021 +0200 @@ -29,7 +29,7 @@ type reportJobCreator struct{} -func init() { RegisterJobCreator(ReportJobKind, ReportJobKind{}) } +func init() { RegisterJobCreator(ReportJobKind, reportJobCreator{}) } func (reportJobCreator) Description() string { return "report" } @@ -45,6 +45,8 @@ func (r *Report) Description() (string, error) { return r.Name, nil } +func (*Report) CleanUp() error { return nil } + func (r *Report) MarshalAttributes(attrs common.Attributes) error { attrs.Set("name", r.Name) return nil