mirror of https://github.com/hashicorp/consul
Include 'Service'/'Address' field in example
Add the `Service`/`Address` field to the example output for the `/v1/health/service/\<service\>` endpoint. Even though it's an optional value, this is probably the one consumers are looking for (rather than the `Node` address)pull/1441/head
parent
d861f87851
commit
afc77a4634
|
@ -133,6 +133,7 @@ It returns a JSON body like this:
|
||||||
"ID": "redis",
|
"ID": "redis",
|
||||||
"Service": "redis",
|
"Service": "redis",
|
||||||
"Tags": null,
|
"Tags": null,
|
||||||
|
"Address": "10.1.10.12"
|
||||||
"Port": 8000
|
"Port": 8000
|
||||||
},
|
},
|
||||||
"Checks": [
|
"Checks": [
|
||||||
|
|
Loading…
Reference in New Issue