summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-02-16 20:11:31 -0600
committerJohn Estabrook <jestabro@vyos.io>2022-02-16 20:12:20 -0600
commit425f8f16caa7e9e5101be3dc8ab32e60db274d7f (patch)
treeb60ad5df3baa2ee55567e2b00b83389b205062f5 /python
parentd9a1f8deceec729371004377692d477f5e554cb1 (diff)
downloadvyos-1x-425f8f16caa7e9e5101be3dc8ab32e60db274d7f.tar.gz
vyos-1x-425f8f16caa7e9e5101be3dc8ab32e60db274d7f.zip
xml: T3474: get component version dictionary from xml cache, not legacy
Diffstat (limited to 'python')
-rw-r--r--python/vyos/migrator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/migrator.py b/python/vyos/migrator.py
index 4574bb6d1..a2e0daabd 100644
--- a/python/vyos/migrator.py
+++ b/python/vyos/migrator.py
@@ -195,7 +195,7 @@ class Migrator(object):
# This will force calling all migration scripts:
cfg_versions = {}
- sys_versions = systemversions.get_system_versions()
+ sys_versions = systemversions.get_system_component_version()
# save system component versions in json file for easy reference
self.save_json_record(sys_versions)