You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by el...@apache.org on 2018/08/16 15:04:04 UTC
[trafficcontrol] branch master updated: Fix Docs invalid JSON
missing commas and escapes
This is an automated email from the ASF dual-hosted git repository.
elsloo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 4022237 Fix Docs invalid JSON missing commas and escapes
4022237 is described below
commit 4022237ea34cc863eb10c30ccfbdcbb5286b9f69
Author: Robert Butts <ro...@apache.org>
AuthorDate: Thu Aug 16 08:56:48 2018 -0600
Fix Docs invalid JSON missing commas and escapes
---
docs/source/api/v12/deliveryservice_regex.rst | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/docs/source/api/v12/deliveryservice_regex.rst b/docs/source/api/v12/deliveryservice_regex.rst
index ccd12c4..127db41 100644
--- a/docs/source/api/v12/deliveryservice_regex.rst
+++ b/docs/source/api/v12/deliveryservice_regex.rst
@@ -55,7 +55,7 @@ Delivery Service Regexes
"regexes": [
{
"type": "HOST_REGEXP",
- "pattern": ".*\.foo-bar\..*",
+ "pattern": ".*\\.foo-bar\\..*",
"setNumber": 0
},
{
@@ -111,7 +111,7 @@ Delivery Service Regexes
"id": 852,
"type": 18,
"typeName": "HOST_REGEXP",
- "pattern": ".*\.foo-bar\..*",
+ "pattern": ".*\\.foo-bar\\..*",
"setNumber": 0
},
{
@@ -168,7 +168,7 @@ Delivery Service Regexes
"id": 852,
"type": 18,
"typeName": "HOST_REGEXP",
- "pattern": ".*\.foo-bar\..*",
+ "pattern": ".*\\.foo-bar\\..*",
"setNumber": 0
}
]
@@ -207,8 +207,8 @@ Delivery Service Regexes
**Request Example** ::
{
- "pattern": ".*\.foo-bar\..*"
- "type": 18
+ "pattern": ".*\\.foo-bar\\..*",
+ "type": 18,
"setNumber": 0
}
@@ -237,7 +237,7 @@ Delivery Service Regexes
"id": 852,
"type": 18,
"typeName": "HOST_REGEXP",
- "pattern": ".*\.foo-bar\..*",
+ "pattern": ".*\\.foo-bar\\..*",
"setNumber": 0
},
"alerts":[
@@ -283,8 +283,8 @@ Delivery Service Regexes
**Request Example** ::
{
- "pattern": ".*\.foo-bar\..*"
- "type": 18
+ "pattern": ".*\\.foo-bar\\..*",
+ "type": 18,
"setNumber": 0
}
@@ -313,7 +313,7 @@ Delivery Service Regexes
"id": 852,
"type": 18,
"typeName": "HOST_REGEXP",
- "pattern": ".*\.foo-bar\..*",
+ "pattern": ".*\\.foo-bar\\..*",
"setNumber": 0
},
"alerts":[