Merge ~andersson123/autopkgtest-cloud:api-key-loading-fix into autopkgtest-cloud:master

Proposed by Tim Andersson
Status: Merged
Merged at revision: c75675dd22434ac934f19bc5f10767f55c7a40df
Proposed branch: ~andersson123/autopkgtest-cloud:api-key-loading-fix
Merge into: autopkgtest-cloud:master
Diff against target: 13 lines (+1/-1)
1 file modified
charms/focal/autopkgtest-web/reactive/autopkgtest_web.py (+1/-1)
Reviewer Review Type Date Requested Status
Skia Approve
Review via email: mp+463122@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Skia (hyask) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/charms/focal/autopkgtest-web/reactive/autopkgtest_web.py b/charms/focal/autopkgtest-web/reactive/autopkgtest_web.py
2index e8b94c9..cb6e65c 100644
3--- a/charms/focal/autopkgtest-web/reactive/autopkgtest_web.py
4+++ b/charms/focal/autopkgtest-web/reactive/autopkgtest_web.py
5@@ -270,7 +270,7 @@ def write_github_secrets():
6 )
7 def write_api_keys():
8 status.maintenance("Writing api keys")
9- api_keys = config().get("external-web-requests-api-keys.json")
10+ api_keys = config().get("external-web-requests-api-keys")
11 try:
12 _ = json.loads(api_keys)
13 except json.JSONDecodeError as e:

Subscribers

People subscribed via source and target branches