mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Merge branch '2.2' into 3.0
# Conflicts: # CHANGELOG # gns3server/compute/iou/iou_vm.py # gns3server/crash_report.py # gns3server/utils/asyncio/telnet_server.py # gns3server/version.py # requirements.txt # setup.py
This commit is contained in:
11 files changed
+170
-169
No files matched your search
@@ -336,7 +336,7 @@ async def update_snapshots(snapshots_dir, project_path, project_name, project_id
|
||||
topology = json.load(f)
|
||||
topology["name"] = project_name
|
||||
topology["project_id"] = project_id
|
||||
regenerate_topology_ids(topology, project_path, reset_mac_addresses)
|
||||
regenerate_topology_ids(topology, tmpdir, reset_mac_addresses)
|
||||
with open(topology_file_path, "w+", encoding="utf-8") as f:
|
||||
json.dump(topology, f, indent=4, sort_keys=True)
|
||||
except OSError as e:
|
||||
|
||||
Reference in new issue
Block a user