Skip to content

Commit 7043e5b

Browse files
committed
sets branch on InfrahubClient when running infrahubctl check
1 parent fa3f84d commit 7043e5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrahub_sdk/ctl/check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ async def run_checks(
196196
log = logging.getLogger("infrahub")
197197

198198
check_summary: list[bool] = []
199-
client = initialize_client()
199+
client = initialize_client(branch=branch)
200200
for check_module in check_modules:
201201
if check_module.definition.targets:
202202
result = await run_targeted_check(

0 commit comments

Comments
 (0)