cli/machine/hardware: improve error message

This commit is contained in:
Johannes Kirschbauer
2025-07-11 18:52:04 +02:00
parent 6d90a39747
commit c26809df16

View File

@@ -118,7 +118,7 @@ def run_machine_hardware_info(
commit_file( commit_file(
hw_file, hw_file,
opts.machine.flake.path, opts.machine.flake.path,
f"machines/{opts.machine}/{hw_file.name}: update hardware configuration", f"machines/{opts.machine.name}/{hw_file.name}: update hardware configuration",
) )
try: try:
get_machine_target_platform(opts.machine) get_machine_target_platform(opts.machine)