From 31188648f06e57b337f5559c586390e5bbca1225 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 3 Feb 2024 07:52:52 +0100 Subject: [PATCH] clan-cli update: remove legacy argument --- pkgs/clan-cli/clan_cli/machines/update.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/clan-cli/clan_cli/machines/update.py b/pkgs/clan-cli/clan_cli/machines/update.py index e118c222..dbb2114c 100644 --- a/pkgs/clan-cli/clan_cli/machines/update.py +++ b/pkgs/clan-cli/clan_cli/machines/update.py @@ -84,7 +84,8 @@ def upload_sources( f"failed to parse output of {shlex.join(cmd)}: {e}\nGot: {proc.stdout.decode('utf-8', 'replace')}" ) -def deploy_nixos(hosts: HostGroup, clan_dir: Path) -> None: + +def deploy_nixos(hosts: HostGroup) -> None: """ Deploy to all hosts in parallel """ @@ -197,7 +198,7 @@ def update(args: argparse.Namespace) -> None: else: machines = get_selected_machines(args.machines, args.flake) - deploy_nixos(machines, args.flake) + deploy_nixos(machines) def register_update_parser(parser: argparse.ArgumentParser) -> None: