Mercurial > gemma
diff pkg/imports/report.go @ 5560:f2204f91d286
Join the log lines of imports to the log exports to recover data from them.
Used in SR export to extract information that where in the meta json
but now are only found in the log.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 09 Feb 2022 18:34:40 +0100 |
parents | 5f47eeea988d |
children | ceecc205011c |
line wrap: on
line diff
--- a/pkg/imports/report.go Thu Dec 02 12:37:33 2021 +0100 +++ b/pkg/imports/report.go Wed Feb 09 18:34:40 2022 +0100 @@ -87,7 +87,7 @@ // RequiresRoles enforces to be a sys_admin to run this . func (*Report) RequiresRoles() auth.Roles { return auth.Roles{"sys_admin"} } -func (r *Report) Description() (string, error) { return string(r.Name), nil } +func (r *Report) Description([]string) (string, error) { return string(r.Name), nil } func (*Report) CleanUp() error { return nil }