This commit is contained in:
parent
2b1d4366d4
commit
6151957d21
|
@ -117,6 +117,7 @@ class SecretLoader:
|
||||||
# Setup environment
|
# Setup environment
|
||||||
self.env_key_prefix = self._load_or_none(ENV_KEY_PREFIX)
|
self.env_key_prefix = self._load_or_none(ENV_KEY_PREFIX)
|
||||||
if self.env_key_prefix is not None:
|
if self.env_key_prefix is not None:
|
||||||
|
logger.info('Environment enabled with prefix: %s', self.env_key_prefix)
|
||||||
assert (
|
assert (
|
||||||
self.env_key_prefix == self.env_key_prefix.upper()
|
self.env_key_prefix == self.env_key_prefix.upper()
|
||||||
), 'Prefix must be uppercase'
|
), 'Prefix must be uppercase'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user