Skip to content

Commit

Permalink
feat(val-1404): filter empty string is env
Browse files Browse the repository at this point in the history
  • Loading branch information
dputko committed Jan 28, 2025
1 parent 8fd13bb commit 5dab215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

LIDO_LOCATOR_ADDRESS = os.getenv('LIDO_LOCATOR_ADDRESS', '')

VALID_WITHDRAWAL_ADDRESSES = os.getenv('VALID_WITHDRAWAL_ADDRESSES', '').split(',')
VALID_WITHDRAWAL_ADDRESSES = [x for x in os.getenv('VALID_WITHDRAWAL_ADDRESSES', '').split(',') if x]

# - Metrics -
PROMETHEUS_PORT = int(os.getenv('PROMETHEUS_PORT', 9000))
Expand Down

0 comments on commit 5dab215

Please sign in to comment.