There is a pattern that had been used in a few configuration scripts which passes config to verify and get_config, and moves Config instantiation to main. That pattern is present in host_name.py, but not used, so standard practice can be restored.
Description
Description
Details
Details
- Difficulty level
- Unknown (require assessment)
- Version
- vyos-1.3
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Perfectly compatible
- Issue type
- Internal change (not visible to end users)
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | jestabro | T2582 Script daemon to offload processing during commit | |||
Resolved | jestabro | T2649 Ensure configration mode scripts conform to coding guidelines | |||
Resolved | jestabro | T2784 Remove unused arg from host_name.py functions verify and get_config |