mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 05:09:12 +00:00
Update plugins/modules/github_secrets_info.py
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
a4753f4539
commit
8252c04019
1 changed files with 1 additions and 3 deletions
|
|
@ -98,9 +98,7 @@ def list_secrets(
|
|||
|
||||
if info["status"] == HTTPStatus.OK:
|
||||
body = resp.read()
|
||||
return {
|
||||
"secrets": json.loads(body).get("secrets", []),
|
||||
}
|
||||
return json.loads(body).get("secrets", [])
|
||||
elif info["status"] == HTTPStatus.NOT_FOUND:
|
||||
return {
|
||||
"secrets": [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue