fix updating multiple machines
This commit is contained in:
@@ -87,7 +87,7 @@ def get_all_machines(clan_dir: Path) -> HostGroup:
|
|||||||
text=True,
|
text=True,
|
||||||
).stdout
|
).stdout
|
||||||
|
|
||||||
machines = json.loads(Path(machines_json).read_text())
|
machines = json.loads(Path(machines_json.rstrip()).read_text())
|
||||||
|
|
||||||
hosts = []
|
hosts = []
|
||||||
for name, machine_data in machines.items():
|
for name, machine_data in machines.items():
|
||||||
|
|||||||
Reference in New Issue
Block a user