summaryrefslogtreecommitdiff
path: root/python/vyos/component_versions.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos/component_versions.py')
-rw-r--r--python/vyos/component_versions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/component_versions.py b/python/vyos/component_versions.py
index ec54a1576..90b458aae 100644
--- a/python/vyos/component_versions.py
+++ b/python/vyos/component_versions.py
@@ -51,7 +51,7 @@ def get_component_versions_from_file(config_file_name='/opt/vyatta/etc/config/co
"""
f = open(config_file_name, 'r')
for line_in_config in f:
- component_version = return_version(line_in_config)
+ component_version = get_component_version(line_in_config)
if component_version:
return component_version
raise ValueError("no config string in file:", config_file_name)