From fc826c02ed322b4813fe387266e4ef60da98af28 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Tue, 3 Sep 2019 23:00:02 -0700 Subject: [PATCH] return config on error --- daemon/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/config.go b/daemon/config.go index eeaf3ea..70cd8dd 100644 --- a/daemon/config.go +++ b/daemon/config.go @@ -110,7 +110,7 @@ func FromEnviron() (Config, error) { if config.Runner.EnvFile != "" { envs, err := godotenv.Read(config.Runner.EnvFile) if err != nil { - return nil, err + return config, err } for k, v := range envs { config.Runner.Environ[k] = v