Page MenuHomeVyOS Platform

Fix typo in regex in vyos.config_mgmt compare function
Closed, ResolvedPublicBUG

Description

There exists a typo in the regex of the function to strip the component version string for comparison of saved, resp., archived configs. re.split should only split at lines beginning with chars '//'.

Details

Difficulty level
Easy (less than an hour)
Version
vyos-1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

jestabro triaged this task as Normal priority.Jan 26 2023, 9:21 PM
jestabro created this task.
jestabro created this object in space S1 VyOS Public.
jestabro moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.