Skip to content

Commit

Permalink
Renamed _check_ipfs_endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-stakewise committed Oct 21, 2024
1 parent cddf02a commit 9483bf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/startup_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ async def startup_checks() -> None:
await check_hot_wallet_balance()

logger.info('Checking connection to ipfs nodes...')
healthy_ipfs_endpoints = await _check_healthy_ipfs_endpoints()
healthy_ipfs_endpoints = await _check_ipfs_endpoints()

logger.info('Connected to ipfs nodes at %s.', ', '.join(healthy_ipfs_endpoints))

Expand Down Expand Up @@ -312,7 +312,7 @@ async def _aiohttp_fetch(session: ClientSession, url: str) -> str:
return url


async def _check_healthy_ipfs_endpoints() -> list[str]:
async def _check_ipfs_endpoints() -> list[str]:
healthy_ipfs_endpoints = []

for endpoint in settings.ipfs_fetch_endpoints:
Expand Down

0 comments on commit 9483bf0

Please sign in to comment.