File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -824,7 +824,7 @@ async def process_batch() -> tuple[list[InfrahubNode], list[InfrahubNode]]:
824
824
nodes = []
825
825
related_nodes = []
826
826
batch_process = await self .create_batch ()
827
- count = await self .count (kind = schema .kind , partial_match = partial_match , ** filters )
827
+ count = await self .count (kind = schema .kind , branch = branch , partial_match = partial_match , ** filters )
828
828
total_pages = (count + pagination_size - 1 ) // pagination_size
829
829
830
830
for page_number in range (1 , total_pages + 1 ):
@@ -1989,7 +1989,7 @@ def process_batch() -> tuple[list[InfrahubNodeSync], list[InfrahubNodeSync]]:
1989
1989
related_nodes = []
1990
1990
batch_process = self .create_batch ()
1991
1991
1992
- count = self .count (kind = schema .kind , partial_match = partial_match , ** filters )
1992
+ count = self .count (kind = schema .kind , branch = branch , partial_match = partial_match , ** filters )
1993
1993
total_pages = (count + pagination_size - 1 ) // pagination_size
1994
1994
1995
1995
for page_number in range (1 , total_pages + 1 ):
You can’t perform that action at this time.
0 commit comments