Skip to content

Commit

Permalink
removed the logger from the config loader and removed the Verbose() o…
Browse files Browse the repository at this point in the history
…ption;

now a multierror is returned by the Load() method, specifying all paths that failed to get loaded; the caller is responsible to handle that error by either showing a warning or exiting the program;
 added a GetInfo() method which allows the caller to get some info on the paths that were attempted to be loaded, useful in when FromPathFlag() is used;
fixed an issue that made it so the word "config" could not be used with FromPathFlag()
  • Loading branch information
e-nikolov committed Sep 25, 2018
1 parent 3cc0994 commit f13b72f
Show file tree
Hide file tree
Showing 21 changed files with 1,398 additions and 1,344 deletions.
26 changes: 17 additions & 9 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

354 changes: 354 additions & 0 deletions vendor/github.com/hashicorp/errwrap/LICENSE

Large diffs are not rendered by default.

89 changes: 89 additions & 0 deletions vendor/github.com/hashicorp/errwrap/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

169 changes: 169 additions & 0 deletions vendor/github.com/hashicorp/errwrap/errwrap.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vendor/github.com/hashicorp/errwrap/go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions vendor/github.com/hashicorp/go-multierror/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f13b72f

Please sign in to comment.