Skip to content

Commit 04d2b37

Browse files
gmanandhar-nrclaude
andcommitted
fix(nrdot-haproxy): remove redundant JP region branch
JP uses the same OTLP endpoint as US (https://otlp.nr-data.net), so the explicit elif branch is unnecessary. Collapse into the default else case, matching the nginx recipe pattern. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ec0c121 commit 04d2b37

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

recipes/newrelic/infrastructure/nrdot/haproxy/debian.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ install:
179179
OTLP_ENDPOINT="https://otlp.eu01.nr-data.net"
180180
elif [ "${NEW_RELIC_REGION}" = "staging" ]; then
181181
OTLP_ENDPOINT="https://staging-otlp.nr-data.net"
182-
elif [ "${NEW_RELIC_REGION}" = "JP" ]; then
183-
OTLP_ENDPOINT="https://otlp.nr-data.net"
184182
else
185183
OTLP_ENDPOINT="https://otlp.nr-data.net"
186184
fi

recipes/newrelic/infrastructure/nrdot/haproxy/rhel.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ install:
184184
OTLP_ENDPOINT="https://otlp.eu01.nr-data.net"
185185
elif [ "${NEW_RELIC_REGION}" = "staging" ]; then
186186
OTLP_ENDPOINT="https://staging-otlp.nr-data.net"
187-
elif [ "${NEW_RELIC_REGION}" = "JP" ]; then
188-
OTLP_ENDPOINT="https://otlp.nr-data.net"
189187
else
190188
OTLP_ENDPOINT="https://otlp.nr-data.net"
191189
fi

0 commit comments

Comments
 (0)