mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
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.