mirror of https://github.com/hashicorp/consul
461c1e18a5
This change-set adds another key to the configuration decoding called `services`, which is expected to be a list of service definitions. It follows the established convention of only allowing one of the keys: `service`, `check`, `services`. For every entry in the list it calls the corresponding decode method and appends it to the Servics of the resulting Config. While a similar result could be achieved with changing the Services member of the Config struct to have named mapstruct tag it lacks the proper time conversions provided by DecodeServiceDefinition. |
||
---|---|---|
.. | ||
assets | ||
docs | ||
intro | ||
layouts | ||
.gitignore | ||
404.html.erb | ||
community.html.erb | ||
downloads.html.erb | ||
downloads_tools.html.erb | ||
index.html.erb | ||
robots.txt | ||
sitemap.xml.builder |