mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
ef189e7f67
When disable a plugin that set config entried, such as the minio plugin, tutor was logging the following: Disabling plugin minio... Removed config entry OPENEDX_AWS_ACCESS_KEY=openedx Removed config entry OPENEDX_AWS_SECRET_ACCESS_KEY={{ MINIO_AWS_SECRET_ACCESS_KEY }} Plugin disabled The config values were not rendered during printing, which is a shame, because the whole point of this log line is to warn users of passwords/secrets that are being removed. Here, we make sure that the config values are properly rendered. The new logs are now: Disabling plugin minio... Removing config entry OPENEDX_AWS_ACCESS_KEY=openedx Removing config entry OPENEDX_AWS_SECRET_ACCESS_KEY=64vpCVLxhDxBuNjakSrX4CQg Plugin disabled |
||
---|---|---|
.. | ||
__init__.py | ||
openedx-lms-common-settings | ||
test_bindmounts.py | ||
test_config.py | ||
test_env.py | ||
test_images.py | ||
test_plugins.py | ||
test_serialize.py | ||
test_utils.py |