diff config/config.go @ 221:696c19abe869

Argh! If one is using its own storage for config like we do the config loaded by viper needs to be injected back into cobra [https://github.com/spf13/cobra/issues/367].
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 24 Jul 2018 18:21:31 +0200
parents 11d1a488b08f
children 0777aa6de45b
line wrap: on
line diff
--- a/config/config.go	Tue Jul 24 17:45:17 2018 +0200
+++ b/config/config.go	Tue Jul 24 18:21:31 2018 +0200
@@ -3,7 +3,6 @@
 var Config Configuration
 
 type Configuration struct {
-	File      string
 	DBHost    string
 	DBPort    uint
 	DBName    string