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:
Sébastien Portebois 2018-10-29 04:41:25 -04:00 committed by Hans Hasselberg
parent 988ceb697a
commit 1823a35325
3 changed files with 2 additions and 1 deletions

View File

@ -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": {}