mirror of https://github.com/status-im/consul.git
97a577502d
This commit reduces the interface to Load() a bit, in preparation for unexporting NewBuilder and having everything call Load. The three arguments are reduced to a single argument by moving the other two into the options struct. The three return values are reduced to two by moving the RuntimeConfig and Warnings into a LoadResult struct. |
||
---|---|---|
.. | ||
agent.go | ||
agent_test.go |