mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 15:50:49 +08:00 
			
		
		
		
	Fix code-blocks in kubernetes.rst (#1128)
line 70 – added missing period lines 84-95 – added missing indent
This commit is contained in:
		@@ -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" ]     
 | 
			
		||||
        }
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user