Page MenuHomeVyOS Platform

vyos.config return_effective_values does not convert the output to a list
Closed, ResolvedPublicBUG

Description

>>> import vyos.config
>>> c=vyos.config.Config()

>>> c.return_effective_values("system name-server")
"'1.1.1.1' '1.1.1.2'"

Compare and contrast with correct output of return_values:

>>> c.return_values("system name-server")
['1.1.1.1', '1.1.1.2']

Details

Version
1.2.0