From 28227e8b0aa23c342f54711b666d581cdfeacd86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 6 May 2025 09:52:25 +0200 Subject: [PATCH] fix build_host set if it doesn't exist --- pkgs/clan-cli/clan_cli/machines/machines.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/clan-cli/clan_cli/machines/machines.py b/pkgs/clan-cli/clan_cli/machines/machines.py index cc370b46b..6118beb5a 100644 --- a/pkgs/clan-cli/clan_cli/machines/machines.py +++ b/pkgs/clan-cli/clan_cli/machines/machines.py @@ -165,8 +165,7 @@ class Machine: """ build_host = self.override_build_host or self.deployment.get("buildHost") if build_host is None: - with self.target_host() as target_host: - yield target_host + yield None return # enable ssh agent forwarding to allow the build host to access the target host yield parse_deployment_address(