Skip to content

Commit

Permalink
make sure environment loader is also using camelcase
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier committed May 18, 2017
1 parent b8fdf6b commit 58e383e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/courier.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func NewWithPath(path string) *multiconfig.DefaultLoader {

loaders = append(loaders, &multiconfig.TagLoader{})
loaders = append(loaders, &multiconfig.TOMLLoader{Path: path})
loaders = append(loaders, &multiconfig.EnvironmentLoader{})
loaders = append(loaders, &multiconfig.EnvironmentLoader{CamelCase: true})
loaders = append(loaders, &multiconfig.FlagLoader{CamelCase: true})
loader := multiconfig.MultiLoader(loaders...)

Expand Down

0 comments on commit 58e383e

Please sign in to comment.