mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-24 15:58:08 +00:00
Add log message for comparing controller version with config version. Ref https://github.com/GNS3/gns3-gui/issues/3486
This commit is contained in:
parent
f4dab1482f
commit
962c5eed8e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user