sushy-tools/releasenotes/notes/fix-wsgi-config-e3f63f91152225f8.yaml
Ilya Etingof 157b396ae7 Simplify resource initialization
This change collects emulated resources under an umbrella object
and performs their lazy initialization as well as cleaning.

Besides code reduction, this change is a prerequisite for a more
efficient handling of the upcoming emulated resources.

It also fixes Flask config file load as pointed by the
`SUSHY_EMULATOR_CONFIG` environment variable when running under
WSGI server. Before this fix, the above mentioned environment
variable was ignored and user config file not loaded.

Change-Id: Id327f38b4b3713dcbd07590f2ea26b404199e018
2019-06-18 12:03:13 +02:00

8 lines
262 B
YAML

---
fixes:
- |
Fixes Flask config file load as pointed by the ``SUSHY_EMULATOR_CONFIG``
environment variable when running under WSGI server. Before this fix,
the above mentioned environment variable was ignored and user config
file not loaded.