Skip to content

Commit 06174c2

Browse files
committed
Remove the hardcoded HUB_CONFIG_FILE env variable
1 parent 5ac67ff commit 06174c2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

config/config.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ type Config struct {
2626

2727
// New returns a new Config struct
2828
func New() *Config {
29-
os.Setenv("HUB_CONFIG_FILE", "/home/marcelo/go/xmlrpc_conf.conf")
3029
if hubConfigFile, exists := os.LookupEnv("HUB_CONFIG_FILE"); exists {
3130
if err := k.Load(file.Provider(hubConfigFile), json.Parser()); err != nil {
3231
log.Fatalf("error loading config: %v", err)

0 commit comments

Comments
 (0)