diff options
author | John Estabrook <jestabro@sentrium.io> | 2019-11-05 12:57:14 -0600 |
---|---|---|
committer | John Estabrook <jestabro@sentrium.io> | 2019-11-05 12:57:14 -0600 |
commit | d8131406a0c2e5956c8c494be251cda806ad103b (patch) | |
tree | 9522719417d3eb4b1c802bf2bf5534dc9aa62b58 /src/services | |
parent | a5b4d854695524b0c20b70069e5151d052aa4c19 (diff) | |
download | vyos-1x-d8131406a0c2e5956c8c494be251cda806ad103b.tar.gz vyos-1x-d8131406a0c2e5956c8c494be251cda806ad103b.zip |
T1774: fix error output
Diffstat (limited to 'src/services')
-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 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: |