Mercurial > gemma
changeset 2305:9c4ef2345db4
Configured Imports: Fixed unmarshalling of WFS imports.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 18 Feb 2019 12:40:07 +0100 |
parents | ff947964c4ff |
children | d6f2bf26099c |
files | pkg/models/imports.go |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/models/imports.go Mon Feb 18 12:17:00 2019 +0100 +++ b/pkg/models/imports.go Mon Feb 18 12:40:07 2019 +0100 @@ -129,7 +129,7 @@ } func (wi *WFSImport) UnmarshalAttributes(attrs common.Attributes) error { - if err := wi.URLType.UnmarshalAttributes(attrs); err != nil { + if err := wi.ConfigurableURLImport.UnmarshalAttributes(attrs); err != nil { return err } ft, found := attrs.Get("feature-type")