stop using urljoin for worker_status endpoint

This commit is contained in:
Nader Arbabian
2025-06-17 23:09:45 -07:00
parent 9ebf1924ea
commit 0bf2d04223
+1 -2
View File
@@ -5,7 +5,6 @@ import json
from asyncio import sleep
from dataclasses import dataclass, asdict, field
from functools import cache
from urllib.parse import urljoin
import requests
@@ -119,7 +118,7 @@ class Metrics:
def send_data(report_addr: str) -> None:
data = compute_autoscaler_data()
full_path = urljoin(report_addr, "/worker_status/")
full_path = report_addr.rstrip("/") + "/worker_status/"
log.debug(
"\n".join(
[