api/tasks: prefix impure actions with run

This commit is contained in:
Johannes Kirschbauer
2025-07-07 12:09:31 +02:00
parent 972adc7a7c
commit c369f3b5d1
12 changed files with 40 additions and 34 deletions

View File

@@ -9,7 +9,7 @@ from clan_lib.machines.actions import list_machines
from clan_lib.machines.list import instantiate_inventory_to_machines
from clan_lib.machines.machines import Machine
from clan_lib.machines.suggestions import validate_machine_names
from clan_lib.machines.update import deploy_machine
from clan_lib.machines.update import run_machine_deploy
from clan_lib.nix import nix_config
from clan_lib.ssh.remote import Remote
@@ -144,7 +144,7 @@ def update_command(args: argparse.Namespace) -> None:
tid=machine.name,
async_ctx=AsyncContext(prefix=machine.name),
),
deploy_machine,
run_machine_deploy,
machine=machine,
target_host=target_host,
build_host=machine.build_host(),