Skip to content

Commit 4110837

Browse files
authored
Fix code-blocks in kubernetes.rst (#1128)
line 70 – added missing period lines 84-95 – added missing indent
1 parent 347ea72 commit 4110837

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/features/kubernetes.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ You use Ocelot to poll kubernetes for latest service information rather than per
6767
"Port": 443,
6868
"Token": "txpc696iUhbVoudg164r93CxDTrKRVWG",
6969
"Namespace": "dev",
70-
"Type": "pollkube"
70+
"Type": "pollkube",
7171
"PollingInterval": 100
7272
}
7373
@@ -81,15 +81,15 @@ If your downstream service resides in a different namespace you can override the
8181

8282
.. code-block:: json
8383
84-
{
85-
"ReRoutes": [
8684
{
87-
"DownstreamPathTemplate": "/api/values",
88-
"DownstreamScheme": "http",
89-
"UpstreamPathTemplate": "/values",
90-
"ServiceName": "downstreamservice",
91-
"ServiceNamespace": "downstream-namespace",
92-
"UpstreamHttpMethod": [ "Get" ]
85+
"ReRoutes": [
86+
{
87+
"DownstreamPathTemplate": "/api/values",
88+
"DownstreamScheme": "http",
89+
"UpstreamPathTemplate": "/values",
90+
"ServiceName": "downstreamservice",
91+
"ServiceNamespace": "downstream-namespace",
92+
"UpstreamHttpMethod": [ "Get" ]
93+
}
94+
]
9395
}
94-
]
95-
}

0 commit comments

Comments
 (0)