Merge pull request 'pkgs/cli: Improve error message on clan machines update' (#2353) from kenji/clan-core:kenji-improve-error-message-cli into main
This commit is contained in:
@@ -182,7 +182,9 @@ def update(args: argparse.Namespace) -> None:
|
|||||||
|
|
||||||
if not machines and ignored_machines != []:
|
if not machines and ignored_machines != []:
|
||||||
print(
|
print(
|
||||||
"WARNING: No machines to update. The following defined machines were ignored because they do not have `clan.core.networking.targetHost` nixos option set:",
|
"WARNING: No machines to update."
|
||||||
|
"The following defined machines were ignored because they"
|
||||||
|
"do not have the `clan.core.networking.targetHost` nixos option set:",
|
||||||
file=sys.stderr,
|
file=sys.stderr,
|
||||||
)
|
)
|
||||||
for machine in ignored_machines:
|
for machine in ignored_machines:
|
||||||
|
|||||||
Reference in New Issue
Block a user