Page MenuHomeVyOS Platform

Fix indexing error in configdep script organization
Closed, ResolvedPublicBUG

Description

The list of callable wrappers of config dependency scripts are indexed by a the calling script name: an error/typo in the inspect stack index obtaining the calling script leads to unexpected, but non-fatal, results once we had more than isolated examples. The result was config dependencies being called in the wrong context, for example, T5644 ignoring the ConfigError raised by the nat.py script. Simple to fix, the PR will follow smoketest completion.

Details

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