Skip to content

Commit

Permalink
Remove double log
Browse files Browse the repository at this point in the history
Signed-off-by: cyc60 <[email protected]>
  • Loading branch information
cyc60 committed Dec 14, 2023
1 parent 8a66017 commit caf031d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/validators/keystores/hashi_vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class HashiVaultKeystore(LocalKeystore):
async def load() -> 'HashiVaultKeystore':
"""Extracts private keys from the keystores."""
hashi_vault_config = HashiVaultConfiguration.from_settings()
logger.info('Using hashi vault at %s for loading public keys')
keys = await HashiVaultKeystore._load_hashi_vault_keys(hashi_vault_config)
return HashiVaultKeystore(keys)

Expand Down
2 changes: 1 addition & 1 deletion src/validators/keystores/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async def load_keystore() -> BaseKeystore:
)
return remote_keystore
if settings.hashi_vault_url:
logger.info('Using hashi vault at %s for loading public keys')
logger.info('Using hashi vault at %s for loading public keys', settings.hashi_vault_url)
return await HashiVaultKeystore.load()
local_keystore = await LocalKeystore.load()
if not local_keystore:
Expand Down

0 comments on commit caf031d

Please sign in to comment.