Skip to content

Commit

Permalink
fix(rest): Add validator identifier update for fetch instance
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiWo committed Sep 14, 2023
1 parent d45ec0e commit 6bcd4a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions duties/rest/service/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
from constants import logging
from fastapi import Response, status
from fetcher.data_types import ValidatorIdentifier
from fetcher.fetch import (
update_validator_identifiers as update_validator_identifiers_for_fetcher,
)
from fetcher.identifier import core
from fetcher.identifier.filter import filter_empty_validator_identifier
from fetcher.identifier.parser import update_shared_active_validator_identifiers
Expand Down Expand Up @@ -37,6 +40,7 @@ async def update_validator_identifiers(
await update_shared_active_validator_identifiers(
provided_raw_validator_identifiers, http_method
)
update_validator_identifiers_for_fetcher()
__LOGGER.info(
logging.MODIFIED_VALIDATOR_IDENTIFIER_MESSAGE,
http_method,
Expand Down

0 comments on commit 6bcd4a1

Please sign in to comment.