summaryrefslogtreecommitdiff
path: root/python/vyos/xml/__init__.py
diff options
context:
space:
mode:
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)