Skip to content

Commit 82e11e5

Browse files
committed
Fix typo in var name
1 parent 8bda596 commit 82e11e5

File tree

1 file changed

+2
-2
lines changed
  • opamp/opentelemetry-opamp-client/src/opentelemetry/_opamp

1 file changed

+2
-2
lines changed

opamp/opentelemetry-opamp-client/src/opentelemetry/_opamp/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
_DEFAULT_OPAMP_TIMEOUT_MS = 1_000
3838

39-
_OTLP_HTTP_HEADERS = {
39+
_OPAMP_HTTP_HEADERS = {
4040
"Content-Type": "application/x-protobuf",
4141
"User-Agent": "OTel-OpAMP-Python/" + __version__,
4242
}
@@ -71,7 +71,7 @@ def __init__(
7171

7272
self._endpoint = endpoint
7373
headers = headers or {}
74-
self._headers = {**_OTLP_HTTP_HEADERS, **headers}
74+
self._headers = {**_OPAMP_HTTP_HEADERS, **headers}
7575

7676
self._agent_description = messages.build_agent_description(
7777
identifying_attributes=agent_identifying_attributes,

0 commit comments

Comments
 (0)