Add log message for comparing controller version with config version. Ref https://github.com/GNS3/gns3-gui/issues/3486

This commit is contained in:
grossmj 2023-08-05 20:24:11 +10:00
parent f4dab1482f
commit 962c5eed8e

View File

@ -251,6 +251,7 @@ class Controller:
self._iou_license_settings = controller_settings["iou_license"]
previous_version = controller_settings.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]):
self._appliance_manager.install_builtin_appliances()