Fix packet capture with HTTPS remote server. Fixes #1882

This commit is contained in:
grossmj committed 2021-04-07 12:40:15 +09:30
1 parent 360a819e91
commit 082206a7db
3 files changed
+15 -6

No files matched your search

+2 -2
View File
@@ -63,13 +63,13 @@ def _check_topology_schema(topo):
error = "Invalid data in topology file: {} in schema: {}".format(
e.message,
json.dumps(e.schema))
log.critical(error)
log.debug(error)
raise aiohttp.web.HTTPConflict(text=error)
def project_to_topology(project):
"""
:return: A dictionnary with the topology ready to dump to a .gns3
:return: A dictionary with the topology ready to dump to a .gns3
"""
data = {
"project_id": project.id,