Skip to content

Commit fc7e3f4

Browse files
authored
fix: pass max_slots (#427)
1 parent 3606685 commit fc7e3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

annet/api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ async def adeploy(
683683
) -> ExitCode:
684684
""" Сгенерировать конфиг для устройств и задеплоить его """
685685
ret: ExitCode = 0
686-
ann_gen.live_configs = await fetcher.fetch(devices=loader.devices, processes=args.parallel)
686+
ann_gen.live_configs = await fetcher.fetch(devices=loader.devices, processes=args.parallel, max_slots=args.max_slots)
687687

688688
device_ids = [d.id for d in loader.devices]
689689
for res in ann_gen.old_new(

0 commit comments

Comments
 (0)