Merge pull request 'clan-cli: fix incorrect field name in deploy warning messages. The warning for missing buildHost/targetHost always showed targetHost in the path, even when buildHost was the missing field.' (#4217) from pr-4215 into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/4217
This commit is contained in:
hsjobeki
2025-07-06 10:54:55 +00:00

View File

@@ -188,7 +188,7 @@ def get_host(
if host_str is None:
machine.warn(
f"'{field}' is not set in `inventory.machines.${name}.deploy.targetHost` - falling back to _slower_ nixos option: `clan.core.networking.{field}`"
f"'{field}' is not set in `inventory.machines.${machine.name}.deploy.{field}` - falling back to _slower_ nixos option: `clan.core.networking.{field}`"
)
host_str = machine.select(f'config.clan.core.networking."{field}"')
source = "machine"