# HG changeset patch # User Sascha Wilde # Date 1646759773 -3600 # Node ID 7b67d2fd6e5543251082efd92e92f59162d50875 # Parent 88cb635c122aa8b37c0e5ded88a7953b4696163e# Parent ade07a3f2cfd7381780f885434af3516be8e91dc Merged diff -r 88cb635c122a -r 7b67d2fd6e55 pkg/imports/statsupdate.go --- 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 } diff -r 88cb635c122a -r 7b67d2fd6e55 pkg/imports/wa.go --- 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 } diff -r 88cb635c122a -r 7b67d2fd6e55 pkg/imports/wfsjob.go --- 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 } diff -r 88cb635c122a -r 7b67d2fd6e55 pkg/imports/wg.go --- 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 } diff -r 88cb635c122a -r 7b67d2fd6e55 pkg/imports/wp.go --- 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 }