summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@sentrium.io>2019-11-05 12:57:14 -0600
committerJohn Estabrook <jestabro@sentrium.io>2019-11-05 12:57:14 -0600
commitd8131406a0c2e5956c8c494be251cda806ad103b (patch)
tree9522719417d3eb4b1c802bf2bf5534dc9aa62b58 /src/services
parenta5b4d854695524b0c20b70069e5151d052aa4c19 (diff)
downloadvyos-1x-d8131406a0c2e5956c8c494be251cda806ad103b.tar.gz
vyos-1x-d8131406a0c2e5956c8c494be251cda806ad103b.zip
T1774: fix error output
Diffstat (limited to 'src/services')
-rwxr-xr-xsrc/services/vyos-http-api-server2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/vyos-http-api-server b/src/services/vyos-http-api-server
index 571ec1258..1abaed873 100755
--- a/src/services/vyos-http-api-server
+++ b/src/services/vyos-http-api-server
@@ -221,7 +221,7 @@ def get_value():
elif config_format == 'raw':
pass
else:
- return error(400, "\"{0}\" is not a valid config format")
+ return error(400, "\"{0}\" is not a valid config format".format(config_format))
else:
return error(400, "\"{0}\" is not a valid operation".format(op))
except VyOSError as e: