mirror of https://github.com/hashicorp/consul
website: broken partial rendering and missing id (#4862)
* Fix partial rendering in service command (CLI) help * Fix sample JSON to be a valid json for service registration * Add missing id field to make the complete document complete.pull/4866/head
parent
988ceb697a
commit
1823a35325
|
@ -30,6 +30,7 @@ example shows all possible fields, but note that only a few are required.
|
||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
"service": {
|
"service": {
|
||||||
|
"id": "redis",
|
||||||
"name": "redis",
|
"name": "redis",
|
||||||
"tags": ["primary"],
|
"tags": ["primary"],
|
||||||
"address": "",
|
"address": "",
|
||||||
|
@ -53,7 +54,7 @@ example shows all possible fields, but note that only a few are required.
|
||||||
"local_service_port": 9090,
|
"local_service_port": 9090,
|
||||||
"config": {},
|
"config": {},
|
||||||
"upstreams": []
|
"upstreams": []
|
||||||
}
|
},
|
||||||
"connect": {
|
"connect": {
|
||||||
"native": false,
|
"native": false,
|
||||||
"sidecar_service": {}
|
"sidecar_service": {}
|
||||||
|
|
Loading…
Reference in New Issue