This commit is contained in:
parent
2b1d4366d4
commit
6151957d21
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue
Block a user