diff pkg/config/config.go @ 3169:9128fdeba3bc

Consmetics: Adjusted config.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 06 May 2019 15:18:19 +0200
parents 659549608644
children 317d176ef38c
line wrap: on
line diff
--- a/pkg/config/config.go	Mon May 06 15:17:45 2019 +0200
+++ b/pkg/config/config.go	Mon May 06 15:18:19 2019 +0200
@@ -112,9 +112,7 @@
 func PublishedConfig() string { return viper.GetString("published-config") }
 
 // SOAPTimeout is the timeout till a SOAP request is canceled.
-func SOAPTimeout() time.Duration {
-	return viper.GetDuration("soap-timeout")
-}
+func SOAPTimeout() time.Duration { return viper.GetDuration("soap-timeout") }
 
 var (
 	proxyKeyOnce       sync.Once