mirror of https://github.com/status-im/consul.git
37eacf8192
This is a small step to allowing Agent to accept its dependencies instead of creating them in New. There were two fields in autoconfig.Config that were used exclusively to load config. These were replaced with a single function, allowing us to move LoadConfig back to the config package. Also removed the WithX functions for building a Config. Since these were simple assignment, it appeared we were not getting much value from them. |
||
---|---|---|
.. | ||
auto_config.go | ||
auto_config_test.go | ||
config.go | ||
config_translate.go | ||
config_translate_test.go |