From 8252c040197ce28bec677e95ee5c4b9553c1eac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sj=C3=B6gren?= Date: Sun, 15 Mar 2026 16:57:20 +0100 Subject: [PATCH] Update plugins/modules/github_secrets_info.py Co-authored-by: Felix Fontein --- plugins/modules/github_secrets_info.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/modules/github_secrets_info.py b/plugins/modules/github_secrets_info.py index 7aac0a1c75..cb735de1b1 100644 --- a/plugins/modules/github_secrets_info.py +++ b/plugins/modules/github_secrets_info.py @@ -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": [],