Skip to content

Commit

Permalink
chore: rename constant
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Nov 9, 2024
1 parent d221ae3 commit a23ef3e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions yearn/outputs/victoria/victoria.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@

@eth_retry.auto_retry
async def has_data(ts, data_query):
base_url = os.environ.get('VM_URL', 'http://victoria-metrics:8428')
# query for a metric which should be present
url = f'{base_url}/api/v1/query?query={data_query}&time={int(ts)}'
url = f'{BASE_URL}/api/v1/query?query={data_query}&time={int(ts)}'
headers = {
'Connection': 'close',
}
Expand Down

0 comments on commit a23ef3e

Please sign in to comment.