From 1823a35325586a3bff8412ac96a557826612e824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Portebois?= Date: Mon, 29 Oct 2018 04:41:25 -0400 Subject: [PATCH] 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. --- website/source/docs/agent/services.html.md | 3 ++- .../{deregister.html.md => deregister.html.markdown.erb} | 0 .../services/{register.html.md => register.html.markdown.erb} | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename website/source/docs/commands/services/{deregister.html.md => deregister.html.markdown.erb} (100%) rename website/source/docs/commands/services/{register.html.md => register.html.markdown.erb} (100%) diff --git a/website/source/docs/agent/services.html.md b/website/source/docs/agent/services.html.md index 9133a6f252..00dda0f64a 100644 --- a/website/source/docs/agent/services.html.md +++ b/website/source/docs/agent/services.html.md @@ -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": {} diff --git a/website/source/docs/commands/services/deregister.html.md b/website/source/docs/commands/services/deregister.html.markdown.erb similarity index 100% rename from website/source/docs/commands/services/deregister.html.md rename to website/source/docs/commands/services/deregister.html.markdown.erb diff --git a/website/source/docs/commands/services/register.html.md b/website/source/docs/commands/services/register.html.markdown.erb similarity index 100% rename from website/source/docs/commands/services/register.html.md rename to website/source/docs/commands/services/register.html.markdown.erb