Skip to content

Commit e973fc1

Browse files
Fix filter to not use kwargs unpacking.
1 parent dd1d2a2 commit e973fc1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

infrahub_sdk/ctl/check.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,7 @@ async def run_targeted_check(
157157
)
158158
check_summary.append(result)
159159
else:
160-
targets = await client.get(
161-
kind="CoreGroup", include=["members"], **{"name__value": check_module.definition.targets}
162-
)
160+
targets = await client.get(kind="CoreGroup", include=["members"], name__value=check_module.definition.targets)
163161
await targets.members.fetch()
164162
for member in targets.members.peers:
165163
check_parameter = {}

0 commit comments

Comments
 (0)