From 1c9c372630d7ff97c6cd0fd57468e8b41bd7c4bd Mon Sep 17 00:00:00 2001 From: Alazari-main Date: Tue, 11 Feb 2020 11:28:35 +0200 Subject: [PATCH] Fix code-blocks in kubernetes.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit line 70 – added missing period lines 84-95 – added missing indent --- docs/features/kubernetes.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/features/kubernetes.rst b/docs/features/kubernetes.rst index 088ea3ba3..fd0d3f797 100644 --- a/docs/features/kubernetes.rst +++ b/docs/features/kubernetes.rst @@ -67,7 +67,7 @@ You use Ocelot to poll kubernetes for latest service information rather than per "Port": 443, "Token": "txpc696iUhbVoudg164r93CxDTrKRVWG", "Namespace": "dev", - "Type": "pollkube" + "Type": "pollkube", "PollingInterval": 100 } @@ -81,15 +81,15 @@ If your downstream service resides in a different namespace you can override the .. code-block:: json -{ - "ReRoutes": [ { - "DownstreamPathTemplate": "/api/values", - "DownstreamScheme": "http", - "UpstreamPathTemplate": "/values", - "ServiceName": "downstreamservice", - "ServiceNamespace": "downstream-namespace", - "UpstreamHttpMethod": [ "Get" ] + "ReRoutes": [ + { + "DownstreamPathTemplate": "/api/values", + "DownstreamScheme": "http", + "UpstreamPathTemplate": "/values", + "ServiceName": "downstreamservice", + "ServiceNamespace": "downstream-namespace", + "UpstreamHttpMethod": [ "Get" ] + } + ] } - ] -}