diff options
author | John Estabrook <jestabro@sentrium.io> | 2019-11-05 12:57:14 -0600 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2021-01-24 18:22:01 +0100 |
commit | 482e3695dcdc1fcbd89ffce12974246c7bfb8695 (patch) | |
tree | 6092f10af9615eb87ea3a55af3d9d639e06c8452 /src/services/vyos-http-api-server | |
parent | 2f01afb648c0486d15602cb26f5111fa1044ed64 (diff) | |
download | vyos-1x-482e3695dcdc1fcbd89ffce12974246c7bfb8695.tar.gz vyos-1x-482e3695dcdc1fcbd89ffce12974246c7bfb8695.zip |
T1774: fix error output
Diffstat (limited to 'src/services/vyos-http-api-server')
-rwxr-xr-x | src/services/vyos-http-api-server | 2 |
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: |