Skip to content

Commit

Permalink
Remove FlagLoader from DefaultLoader, because it's unusable, refer to:
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangtieyao committed Jun 6, 2018
1 parent f02f8b3 commit 8604e4b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions multiconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ func NewWithPath(path string) *DefaultLoader {
}

e := &EnvironmentLoader{}
f := &FlagLoader{}
// FlagLoader is unusable right now, refer to: https://github.com/koding/multiconfig/issues/75
// f := &FlagLoader{}

loaders = append(loaders, e, f)
// loaders = append(loaders, e, f)
loaders = append(loaders, e)
loader := MultiLoader(loaders...)

d := &DefaultLoader{}
Expand Down

0 comments on commit 8604e4b

Please sign in to comment.