This is needed for disposable clients work, so we know which config file to copy from a task initiator to a vm.
Details
- Reviewers
kparal tflink jskladan - Commits
- rLTRN91cf74b53192: Store used config file name
Tests amended, pass.
Diff Detail
- Repository
- rLTRN libtaskotron
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
| libtaskotron/config.py | ||
|---|---|---|
| 95 | Simple config.config_filename = filename should work as well :) | |
| 225–226 | I don't think we need additional checking if we clearly document that this is an internal property which should not be set manually in the config file. But I'm fine with both approaches. | |
| libtaskotron/config_defaults.py | ||
| 40–41 | What about:
| |
| 42 | @jskladan suggested using _filename here, to show that this just for internal use. Might be a good idea. | |
Simple
should work as well :)