We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ac67ff commit 06174c2Copy full SHA for 06174c2
config/config.go
@@ -26,7 +26,6 @@ type Config struct {
26
27
// New returns a new Config struct
28
func New() *Config {
29
- os.Setenv("HUB_CONFIG_FILE", "/home/marcelo/go/xmlrpc_conf.conf")
30
if hubConfigFile, exists := os.LookupEnv("HUB_CONFIG_FILE"); exists {
31
if err := k.Load(file.Provider(hubConfigFile), json.Parser()); err != nil {
32
log.Fatalf("error loading config: %v", err)
0 commit comments