From 482e3695dcdc1fcbd89ffce12974246c7bfb8695 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 5 Nov 2019 12:57:14 -0600 Subject: T1774: fix error output --- src/services/vyos-http-api-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3