summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Solomin <sergey.solomin@us.ibm.com>2016-11-09 14:45:53 -0600
committerPatrick Williams <patrick@stwcx.xyz>2016-11-10 21:23:21 -0600
commit0fdfa72ee81bf52ba65bfc401d85d0e491abbf40 (patch)
tree6f9b95521362373fbfc476027cf328ba988512f1
parent62b55f35fde5e057bb7b0294f2e2d8ad66170e2d (diff)
downloadphosphor-settingsd-0fdfa72ee81bf52ba65bfc401d85d0e491abbf40.tar.gz
phosphor-settingsd-0fdfa72ee81bf52ba65bfc401d85d0e491abbf40.zip
Add double-escape to a regex in settings.yaml
A backslash in regex in settings.yaml causes a failure. Add double-escape before a backslash so it will be treated as a character. Change-Id: Icb11579986d261b562e965c871bf5da9ca2b8763 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
-rw-r--r--settings.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.yaml b/settings.yaml
index 7e88be0..7f02ea2 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -68,7 +68,7 @@ org.openbmc.settings.Host:
type: instance_query
keyregex: "host"
subtree: "/org/openbmc/control"
- matchregex: "control/(host\d*)$"
+ matchregex: "control/(host\\d*)$"
# Example of using regex
# macaddress:
OpenPOWER on IntegriCloud