Skip to content

Commit 4622ebc

Browse files
committed
sets branch on InfrahubClient when running infrahubctl generator
1 parent 7043e5b commit 4622ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrahub_sdk/ctl/generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async def run(
4343
if param_key:
4444
identifier = param_key[0]
4545

46-
client = initialize_client()
46+
client = initialize_client(branch=branch)
4747
if variables_dict:
4848
data = execute_graphql_query(
4949
query=generator_config.query,

0 commit comments

Comments
 (0)