changeset 5568:7b67d2fd6e55

Merged
author Sascha Wilde <wilde@sha-bang.de>
date Tue, 08 Mar 2022 18:16:13 +0100
parents 88cb635c122a (current diff) ade07a3f2cfd (diff)
children 0bc838acff6c
files
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/imports/statsupdate.go	Mon Mar 07 18:40:09 2022 +0100
+++ b/pkg/imports/statsupdate.go	Tue Mar 08 18:16:13 2022 +0100
@@ -51,7 +51,7 @@
 // RequiresRoles enforces to be a sys_admin to run this .
 func (*StatsUpdate) RequiresRoles() auth.Roles { return auth.Roles{"sys_admin"} }
 
-func (su *StatsUpdate) Description() (string, error) { return su.Name, nil }
+func (su *StatsUpdate) Description([]string) (string, error) { return su.Name, nil }
 
 func (*StatsUpdate) CleanUp() error { return nil }
 
--- a/pkg/imports/wa.go	Mon Mar 07 18:40:09 2022 +0100
+++ b/pkg/imports/wa.go	Tue Mar 08 18:16:13 2022 +0100
@@ -46,7 +46,7 @@
 }
 
 // Description gives a short info about relevant facts of this import.
-func (wa *WaterwayArea) Description() (string, error) {
+func (wa *WaterwayArea) Description([]string) (string, error) {
 	return wa.URL + "|" + wa.FeatureType, nil
 }
 
--- a/pkg/imports/wfsjob.go	Mon Mar 07 18:40:09 2022 +0100
+++ b/pkg/imports/wfsjob.go	Tue Mar 08 18:16:13 2022 +0100
@@ -103,7 +103,7 @@
 }
 
 // Description gives a short info about relevant facts of this import.
-func (wfj *WFSFeatureJob) Description() (string, error) {
+func (wfj *WFSFeatureJob) Description([]string) (string, error) {
 	return wfj.URL + "|" + wfj.FeatureType, nil
 }
 
--- a/pkg/imports/wg.go	Mon Mar 07 18:40:09 2022 +0100
+++ b/pkg/imports/wg.go	Tue Mar 08 18:16:13 2022 +0100
@@ -41,7 +41,7 @@
 }
 
 // Description gives a short info about relevant facts of this import.
-func (wg *WaterwayGauge) Description() (string, error) {
+func (wg *WaterwayGauge) Description([]string) (string, error) {
 	return wg.URL, nil
 }
 
--- a/pkg/imports/wp.go	Mon Mar 07 18:40:09 2022 +0100
+++ b/pkg/imports/wp.go	Tue Mar 08 18:16:13 2022 +0100
@@ -60,7 +60,7 @@
 }
 
 // Description gives a short info about relevant facts of this import.
-func (wp *WaterwayProfiles) Description() (string, error) {
+func (wp *WaterwayProfiles) Description([]string) (string, error) {
 	return wp.URL + "|" + wp.FeatureType, nil
 }