diff options
author | Christian Breunig <christian@breunig.cc> | 2023-11-23 17:20:41 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-11-23 17:20:41 +0100 |
commit | e7efd65483e7f6e1902a9ab88f8453d5fbb63c09 (patch) | |
tree | ca43c2b951f76823bc071b368a50ea1bdcb97b72 /python/vyos/defaults.py | |
parent | a54fe17d7e2bc3ab5834e439d90effc247306fc2 (diff) | |
download | vyos-1x-e7efd65483e7f6e1902a9ab88f8453d5fbb63c09.tar.gz vyos-1x-e7efd65483e7f6e1902a9ab88f8453d5fbb63c09.zip |
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
Diffstat (limited to 'python/vyos/defaults.py')
-rw-r--r-- | python/vyos/defaults.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { |