diff options
author | John Estabrook <jestabro@vyos.io> | 2022-02-16 20:11:31 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2022-02-16 20:12:20 -0600 |
commit | 425f8f16caa7e9e5101be3dc8ab32e60db274d7f (patch) | |
tree | b60ad5df3baa2ee55567e2b00b83389b205062f5 | |
parent | d9a1f8deceec729371004377692d477f5e554cb1 (diff) | |
download | vyos-1x-425f8f16caa7e9e5101be3dc8ab32e60db274d7f.tar.gz vyos-1x-425f8f16caa7e9e5101be3dc8ab32e60db274d7f.zip |
xml: T3474: get component version dictionary from xml cache, not legacy
-rw-r--r-- | python/vyos/migrator.py | 2 | ||||
-rwxr-xr-x | src/helpers/system-versions-foot.py | 2 |
2 files changed, 2 insertions, 2 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) diff --git a/src/helpers/system-versions-foot.py b/src/helpers/system-versions-foot.py index c33e41d79..2aa687221 100755 --- a/src/helpers/system-versions-foot.py +++ b/src/helpers/system-versions-foot.py @@ -21,7 +21,7 @@ import vyos.systemversions as systemversions import vyos.defaults import vyos.version -sys_versions = systemversions.get_system_versions() +sys_versions = systemversions.get_system_component_version() component_string = formatversions.format_versions_string(sys_versions) |