changeset 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 c008e13fa1d1
children 795a0a0b5047 5b2faff9ec81
files pkg/imports/report.go
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
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