summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@sentrium.io>2019-11-05 12:57:14 -0600
committerDaniil Baturin <daniil@baturin.org>2021-01-24 18:22:01 +0100
commit482e3695dcdc1fcbd89ffce12974246c7bfb8695 (patch)
tree6092f10af9615eb87ea3a55af3d9d639e06c8452 /src
parent2f01afb648c0486d15602cb26f5111fa1044ed64 (diff)
downloadvyos-1x-482e3695dcdc1fcbd89ffce12974246c7bfb8695.tar.gz
vyos-1x-482e3695dcdc1fcbd89ffce12974246c7bfb8695.zip
T1774: fix error output
Diffstat (limited to 'src')
-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 ab26d7370..ecbfe670c 100755
--- a/src/services/vyos-http-api-server
+++ b/src/services/vyos-http-api-server
@@ -233,7 +233,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: