mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-13 20:08:55 +00:00
Fix tests. Ref #1754
This commit is contained in:
parent
69b816e21e
commit
5575657318
@ -119,7 +119,7 @@ def project_to_topology(project):
|
||||
compute = compute.__json__(topology_dump=True)
|
||||
if compute["compute_id"] not in ("vm", "local", ):
|
||||
data["topology"]["computes"].append(compute)
|
||||
else:
|
||||
elif isinstance(compute, dict):
|
||||
data["topology"]["computes"].append(compute)
|
||||
_check_topology_schema(data)
|
||||
return data
|
||||
|
Loading…
Reference in New Issue
Block a user