Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
return config on error
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski committed Sep 4, 2019
1 parent ce4b74a commit fc826c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fc826c0

Please sign in to comment.