Merge branch '2.2' into 3.0

# Conflicts:
#	gns3server/appliances/Simulator.gns3a
#	gns3server/compute/docker/__init__.py
#	gns3server/compute/docker/docker_vm.py
#	gns3server/version.py
This commit is contained in:
grossmj committed 2021-12-02 19:57:04 +10:30
commit 296446189f
20 files changed
+187 -99

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ class Docker(BaseManager):
body = await response.read()
response.close()
if body and len(body):
if response.headers["CONTENT-TYPE"] == "application/json":
if response.headers.get('CONTENT-TYPE') == 'application/json':
body = json.loads(body.decode("utf-8"))
else:
body = body.decode("utf-8")
+1 -1
View File
@@ -114,7 +114,7 @@ class DockerVM(BaseNode):
self._extra_volumes = extra_volumes or []
self._memory = memory
self._cpus = cpus
self._permissions_fixed = False
self._permissions_fixed = True
self._display = None
self._closing = False