diff options
author | John Estabrook <jestabro@sentrium.io> | 2019-11-05 13:16:43 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-05 13:16:43 -0600 |
commit | 104c00ed08585b49a29665b0f43cca0377901528 (patch) | |
tree | 9522719417d3eb4b1c802bf2bf5534dc9aa62b58 | |
parent | a5b4d854695524b0c20b70069e5151d052aa4c19 (diff) | |
parent | d8131406a0c2e5956c8c494be251cda806ad103b (diff) | |
download | vyos-1x-104c00ed08585b49a29665b0f43cca0377901528.tar.gz vyos-1x-104c00ed08585b49a29665b0f43cca0377901528.zip |
Merge pull request #157 from jestabro/current
T1774: fix error output
-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: |