diff pkg/models/imports.go @ 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 c8cc875d271c
children dc4fae4bdb8f
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")