summaryrefslogtreecommitdiff
path: root/src/services/vyos-http-api-server
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-04 17:13:59 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-04 17:13:59 +0100
commita96ffc33cc63918ba3815f66c506c717a8676621 (patch)
treef883f5976a40f2066f500363931a5e499374b8de /src/services/vyos-http-api-server
parent26677aa3ce312a5b980ea88d57feebd09e39fd98 (diff)
parentaceb4d7e187a571019e4bc24cd23efc7c2f624fe (diff)
downloadvyos-1x-a96ffc33cc63918ba3815f66c506c717a8676621.tar.gz
vyos-1x-a96ffc33cc63918ba3815f66c506c717a8676621.zip
Merge branch 'current' of github.com:vyos/vyos-1x into equuleus
* 'current' of github.com:vyos/vyos-1x: shutdown: T1826: Modify cancel reboot msg T1801: move escaping of backslashes into configtree vxlan: T1636: remove unused import statements geneve: T1799: remove unused import statements
Diffstat (limited to 'src/services/vyos-http-api-server')
-rwxr-xr-xsrc/services/vyos-http-api-server2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/services/vyos-http-api-server b/src/services/vyos-http-api-server
index 9b6d7e979..1abaed873 100755
--- a/src/services/vyos-http-api-server
+++ b/src/services/vyos-http-api-server
@@ -24,7 +24,6 @@ import traceback
import threading
import vyos.config
-import vyos.util
import bottle
@@ -213,7 +212,6 @@ def get_value():
config_format = command['configFormat']
res = session.show_config(path=command['path'])
- res = vyos.util.escape_backslash(res)
if config_format == 'json':
config_tree = vyos.configtree.ConfigTree(res)
res = json.loads(config_tree.to_json())