mirror of https://github.com/status-im/consul.git
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.
This commit is contained in:
parent
988ceb697a
commit
1823a35325
|
@ -30,6 +30,7 @@ example shows all possible fields, but note that only a few are required.
|
|||
```javascript
|
||||
{
|
||||
"service": {
|
||||
"id": "redis",
|
||||
"name": "redis",
|
||||
"tags": ["primary"],
|
||||
"address": "",
|
||||
|
@ -53,7 +54,7 @@ example shows all possible fields, but note that only a few are required.
|
|||
"local_service_port": 9090,
|
||||
"config": {},
|
||||
"upstreams": []
|
||||
}
|
||||
},
|
||||
"connect": {
|
||||
"native": false,
|
||||
"sidecar_service": {}
|
||||
|
|
Loading…
Reference in New Issue