1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-13 20:08:55 +00:00

Fix tests after merge

This commit is contained in:
grossmj 2023-09-06 23:42:50 +07:00
parent 1ec056c1a6
commit c11b3c3911
2 changed files with 3 additions and 2 deletions

View File

@ -489,7 +489,8 @@ class DockerVM(BaseNode):
params["HostConfig"]["Mounts"].append({
"Type": "bind",
"Source": f"/tmp/.X11-unix/X{self._display}",
"Target": f"/tmp/.X11-unix/X{self._display}"
"Target": f"/tmp/.X11-unix/X{self._display}",
"ReadOnly": True
})
if self._extra_hosts:

View File

@ -270,7 +270,7 @@ class Controller:
log.error(f"Cannot read IOU license file '{iourc_path}': {e}")
self._iou_license_settings["license_check"] = iou_config.license_check
previous_version = controller_settings.get("version")
previous_version = controller_vars.get("version")
log.info("Comparing controller version {} with config version {}".format(__version__, previous_version))
if not previous_version or \
parse_version(__version__.split("+")[0]) > parse_version(previous_version.split("+")[0]):