Skip to content

Commit 371e983

Browse files
committed
A workaround for previous CML releases
1 parent 7e3e6a7 commit 371e983

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

virl2_client/models/system.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def sync_compute_hosts(self) -> None:
171171
compute_host, push_to_server=False
172172
)
173173
else:
174+
compute_host["node_counts"] = compute_host.get("node_counts", {})
174175
self.add_compute_host_local(**compute_host)
175176
compute_host_ids.append(compute_id)
176177

0 commit comments

Comments
 (0)