Page MenuHomeVyOS Platform

Change migration script len arguments checking
Closed, ResolvedPublicBUG

Description

Change migration script len arguments checking
Currently we have if (len(sys.argv) < 1): but expects 2 args if len(sys.argv) < 2:
the script's name is always provided as the first argument sys.argv[0]

Details

Difficulty level
Unknown (require assessment)
Version
1.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Improvement (missing useful functionality)

Event Timeline

Viacheslav changed the task status from Open to In progress.Aug 2 2023, 8:25 AM
Viacheslav claimed this task.
Viacheslav created this task.
Viacheslav changed the task status from In progress to Needs testing.Aug 2 2023, 3:28 PM
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.