Mercurial > gemma
changeset 5565:ade07a3f2cfd
Forget to change signature of some imports.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 08 Mar 2022 17:38:48 +0100 |
parents | aaa9e658cabd |
children | 7b67d2fd6e55 |
files | pkg/imports/statsupdate.go pkg/imports/wa.go pkg/imports/wfsjob.go pkg/imports/wg.go pkg/imports/wp.go |
diffstat | 5 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/imports/statsupdate.go Sat Feb 12 18:56:55 2022 +0100 +++ b/pkg/imports/statsupdate.go Tue Mar 08 17:38:48 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 Sat Feb 12 18:56:55 2022 +0100 +++ b/pkg/imports/wa.go Tue Mar 08 17:38:48 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 Sat Feb 12 18:56:55 2022 +0100 +++ b/pkg/imports/wfsjob.go Tue Mar 08 17:38:48 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 Sat Feb 12 18:56:55 2022 +0100 +++ b/pkg/imports/wg.go Tue Mar 08 17:38:48 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 Sat Feb 12 18:56:55 2022 +0100 +++ b/pkg/imports/wp.go Tue Mar 08 17:38:48 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 }