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
62dae2fd9f
commit
a0614aadca
|
@ -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