Page MenuHomeVyOS Platform

Fix typo in write_file util
Closed, ResolvedPublicBUG

Description

Using the util write_file without a dir path will raise an exception:
FileNotFoundError: [Errno 2] No such file or directory: ''
This is minor bug, but becomes an annoyance if used to write to the local directory without a path prefix, as 'save my-tmp-config' now does after T6007 (not yet backported), looking ahead to T6472.

Fix the simple bug now and backport.

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

jestabro triaged this task as Normal priority.
jestabro created this object in space S1 VyOS Public.
jestabro changed the task status from Unknown Status to Resolved.Aug 19 2024, 4:16 PM
jestabro moved this task from Open to Finished on the VyOS 1.5 Circinus board.
jestabro moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.1) board.