summaryrefslogtreecommitdiff
path: root/python/vyos/xml/__init__.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-02-17 09:30:55 -0600
committerGitHub <noreply@github.com>2022-02-17 09:30:55 -0600
commite66879f71da3383a84ebfe6235795e718c32bdb9 (patch)
treeb60ad5df3baa2ee55567e2b00b83389b205062f5 /python/vyos/xml/__init__.py
parentf076f9f4cf6e6b7d89eada9f5d59bacea0f3af72 (diff)
parent425f8f16caa7e9e5101be3dc8ab32e60db274d7f (diff)
downloadvyos-1x-e66879f71da3383a84ebfe6235795e718c32bdb9.tar.gz
vyos-1x-e66879f71da3383a84ebfe6235795e718c32bdb9.zip
Merge pull request #1225 from jestabro/component-version
T3474: move component version info to XML
Diffstat (limited to 'python/vyos/xml/__init__.py')
-rw-r--r--python/vyos/xml/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/vyos/xml/__init__.py b/python/vyos/xml/__init__.py
index e0eacb2d1..6db446a40 100644
--- a/python/vyos/xml/__init__.py
+++ b/python/vyos/xml/__init__.py
@@ -46,8 +46,8 @@ def is_tag(lpath):
def is_leaf(lpath, flat=True):
return load_configuration().is_leaf(lpath, flat)
-def component_versions():
- return load_configuration().component_versions()
+def component_version():
+ return load_configuration().component_version()
def defaults(lpath, flat=False):
return load_configuration().defaults(lpath, flat)