Update to registering services via Catalog API

This commit is contained in:
Chip Vaughn 2019-03-04 09:45:24 -05:00
parent 409c901f8e
commit 9e91906664
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ The table below shows this endpoint's support for
- `Service` `(Service: nil)` - Specifies to register a service. If `ID` is not - `Service` `(Service: nil)` - Specifies to register a service. If `ID` is not
provided, it will be defaulted to the value of the `Service.Service` property. provided, it will be defaulted to the value of the `Service.Service` property.
Only one service with a given `ID` may be present per node. The service Only one service with a given `ID` may be present per node. The service
`Tags`, `Address`, `Meta`, and `Port` fields are all optional. `Tags`, `Address`, `Meta`, and `Port` fields are all optional. For more
infomation about these fields, see the [Service - Agent API](https://www.consul.io/api/agent/service.html) page
- `Check` `(Check: nil)` - Specifies to register a check. The register API - `Check` `(Check: nil)` - Specifies to register a check. The register API
manipulates the health check entry in the Catalog, but it does not setup the manipulates the health check entry in the Catalog, but it does not setup the