changeset 2620:a8ebc785823d

WFS download: Removed waiting for configuration in feature download. It slipped in when added WFS error handling.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 13 Mar 2019 15:20:19 +0100
parents be60888e7c43
children 78f75e99f9c5
files pkg/wfs/download.go
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/wfs/download.go	Wed Mar 13 13:18:27 2019 +0100
+++ b/pkg/wfs/download.go	Wed Mar 13 15:20:19 2019 +0100
@@ -26,7 +26,6 @@
 	"strconv"
 	"strings"
 
-	"gemma.intevation.de/gemma/pkg/config"
 	"golang.org/x/net/html/charset"
 )
 
@@ -383,7 +382,6 @@
 // DownloadURLs does the actual GetFeature requests downloads
 // and hands the resulting io.Readers over to the given handler.
 func DownloadURLs(urls []string, handler func(string, io.Reader) error) error {
-	config.WaitReady()
 	for _, url := range urls {
 		if err := downloadURL(url, handler); err != nil {
 			return err