1
0

Added logging line
All checks were successful
Test Python / Test (push) Successful in 23s

This commit is contained in:
Jon Michael Aanes 2024-09-04 20:05:17 +02:00
parent 2b1d4366d4
commit 6151957d21
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -117,6 +117,7 @@ class SecretLoader:
# Setup environment
self.env_key_prefix = self._load_or_none(ENV_KEY_PREFIX)
if self.env_key_prefix is not None:
logger.info('Environment enabled with prefix: %s', self.env_key_prefix)
assert (
self.env_key_prefix == self.env_key_prefix.upper()
), 'Prefix must be uppercase'