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 62dae2fd9f
commit a0614aadca
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 ```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": {}