summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@sentrium.io>2019-11-05 13:16:43 -0600
committerGitHub <noreply@github.com>2019-11-05 13:16:43 -0600
commit104c00ed08585b49a29665b0f43cca0377901528 (patch)
tree9522719417d3eb4b1c802bf2bf5534dc9aa62b58
parenta5b4d854695524b0c20b70069e5151d052aa4c19 (diff)
parentd8131406a0c2e5956c8c494be251cda806ad103b (diff)
downloadvyos-1x-104c00ed08585b49a29665b0f43cca0377901528.tar.gz
vyos-1x-104c00ed08585b49a29665b0f43cca0377901528.zip
Merge pull request #157 from jestabro/current
T1774: fix error output
-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: