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

Difficulty level
Easy (less than an hour)
Version
1.2.0
Why the issue appeared?
Implementation mistake

Event Timeline

dmbaturin claimed this task.
dmbaturin triaged this task as Unbreak Now! priority.
dmbaturin changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
dmbaturin changed Why the issue appeared? from Will be filled on close to Implementation mistake.
dmbaturin removed a project: VyOS 1.3 Equuleus.