Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Commit 5385134

Browse files
authored
apm: Neutral naming for apm-agent-java (#1375)
1 parent 8e1f3ed commit 5385134

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ It is possible to configure some options and versions to run by defining environ
418418

419419
* `APM_AGENT_GO_VERSION`: selects the agent Go version to use. By default it uses the main branch. See [specify an agent version](#specify-an-agent-version)
420420

421-
* `APM_AGENT_JAVA_VERSION`: selects the agent Java version to use. By default it uses the master branch. See [specify an agent version](#specify-an-agent-version)
421+
* `APM_AGENT_JAVA_VERSION`: selects the agent Java version to use. By default it uses the main branch. See [specify an agent version](#specify-an-agent-version)
422422

423423
* `APM_AGENT_NODEJS_VERSION`: selects the agent Nodejs version to use. By default it uses the main branch. See [specify an agent version](#specify-an-agent-version)
424424

docker/java/spring/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM maven:3.6.3-adoptopenjdk-11
22

33
ARG JAVA_AGENT_REPO=elastic/apm-agent-java
4-
ARG JAVA_AGENT_BRANCH=master
4+
ARG JAVA_AGENT_BRANCH=main
55
ARG JAVA_AGENT_BUILT_VERSION=
66
ARG JAVA_M2_CACHE=false
77

scripts/modules/apm_agents.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def _content(self):
460460

461461
class AgentJavaSpring(Service):
462462
SERVICE_PORT = 8090
463-
DEFAULT_AGENT_VERSION = "master"
463+
DEFAULT_AGENT_VERSION = "main"
464464
DEFAULT_AGENT_RELEASE = ""
465465
DEFAULT_AGENT_REPO = "elastic/apm-agent-java"
466466

@@ -470,7 +470,7 @@ def add_arguments(cls, parser):
470470
parser.add_argument(
471471
"--java-agent-version",
472472
default=cls.DEFAULT_AGENT_VERSION,
473-
help='Use Java agent version (master, 0.5, v.0.7.1, ...)',
473+
help='Use Java agent version (main, 0.5, v.0.7.1, ...)',
474474
)
475475
parser.add_argument(
476476
"--java-agent-release",

scripts/tests/test_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def test_agent_java_spring(self):
318318
agent-java-spring:
319319
build:
320320
args:
321-
JAVA_AGENT_BRANCH: master
321+
JAVA_AGENT_BRANCH: main
322322
JAVA_AGENT_BUILT_VERSION: ""
323323
JAVA_AGENT_REPO: elastic/apm-agent-java
324324
JAVA_M2_CACHE: "false"

tests/versions/java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
JAVA_AGENT:
2-
- 'github;master'
2+
- 'github;main'
33
- 'release;1.19.0'
44
- 'release;1.18.1'

0 commit comments

Comments
 (0)