Skip to content

Commit 02b18ac

Browse files
committed
http updated
1 parent 8b3deae commit 02b18ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ def __init__(
266266
OTEL_EXPORTER_OTLP_ENDPOINT, os.environ.get(MW_TARGET, target)
267267
)
268268

269-
if "https" not in self.target:
269+
if "http" not in self.target:
270270
self.mw_agent_service = os.environ.get(MW_AGENT_SERVICE, mw_agent_service)
271271
if self.mw_agent_service is not None:
272272
self.target = f"http://{self.mw_agent_service}:{DEFAULT_PORT}"

0 commit comments

Comments
 (0)