From e7efd65483e7f6e1902a9ab88f8453d5fbb63c09 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 23 Nov 2023 17:20:41 +0100 Subject: https api: T5772: fix Python version not supporting f-ormated strings and dict parsing cpo@LR3.wue3# commit [ service https ] At least one HTTPS API key is required! [[service https]] failed [[service https api]] failed cpo@LR3.wue3# set service https api keys id foo [edit] cpo@LR3.wue3# commit [ service https ] Missing HTTPS API key string for key id: foo --- python/vyos/defaults.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/vyos') diff --git a/python/vyos/defaults.py b/python/vyos/defaults.py index f51e4ddda..d7a4690ee 100644 --- a/python/vyos/defaults.py +++ b/python/vyos/defaults.py @@ -37,7 +37,7 @@ api_data = { 'port' : '8080', 'strict' : 'false', 'debug' : 'false', - 'api_keys' : [ {"id": "testapp", "key": "qwerty"} ] + 'api_keys' : [], } vyos_cert_data = { -- cgit v1.2.3