Skip to content

Commit c28c8ad

Browse files
blakerouseycombinator
authored andcommitted
Update to go 1.23.2.
1 parent 28169ee commit c28c8ad

File tree

18 files changed

+22
-21
lines changed

18 files changed

+22
-21
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{
66
"name": "Beats Development Container",
77
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
8-
"image": "mcr.microsoft.com/devcontainers/go:1-1.22-bullseye",
8+
"image": "mcr.microsoft.com/devcontainers/go:1-1.23-bullseye",
99
// Features to add to the dev container. More info: https://containers.dev/features.
1010
"features": {
1111
"ghcr.io/devcontainers/features/node:1": {},

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.22.7
1+
1.23.2

.golangci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ linters-settings:
149149

150150
gosimple:
151151
# Select the Go version to target. The default is '1.13'.
152-
go: "1.22.7"
152+
go: "1.23.2"
153153

154154
nakedret:
155155
# make an issue if func has more lines of code than this setting and it has naked returns; default is 30
@@ -167,19 +167,19 @@ linters-settings:
167167

168168
staticcheck:
169169
# Select the Go version to target. The default is '1.13'.
170-
go: "1.22.7"
170+
go: "1.23.2"
171171
checks: ["all"]
172172

173173
stylecheck:
174174
# Select the Go version to target. The default is '1.13'.
175-
go: "1.22.7"
175+
go: "1.23.2"
176176
# Disabled:
177177
# ST1005: error strings should not be capitalized
178178
checks: ["all", "-ST1005"]
179179

180180
unused:
181181
# Select the Go version to target. The default is '1.13'.
182-
go: "1.22.7"
182+
go: "1.23.2"
183183

184184
gosec:
185185
excludes:

CHANGELOG.next.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
228228
- When running under Elastic-Agent Kafka output allows dynamic topic in `topic` field {pull}40415[40415]
229229
- The script processor has a new configuration option that only uses the cached javascript sessions and prevents the creation of new javascript sessions.
230230
- Update to Go 1.22.7. {pull}41018[41018]
231+
- Update to Go 1.23.2.
231232

232233
*Auditbeat*
233234

auditbeat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7
1+
FROM golang:1.23.2
22

33
RUN \
44
apt-get update \

dev-tools/kubernetes/filebeat/Dockerfile.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7 as builder
1+
FROM golang:1.23.2 as builder
22

33
ENV PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/go/bin:/usr/local/go/bin
44

dev-tools/kubernetes/heartbeat/Dockerfile.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.6 as builder
1+
FROM golang:1.23.2 as builder
22

33
ENV PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/go/bin:/usr/local/go/bin
44

dev-tools/kubernetes/metricbeat/Dockerfile.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7 as builder
1+
FROM golang:1.23.2 as builder
22

33
ENV PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/go/bin:/usr/local/go/bin
44

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/elastic/beats/v7
22

3-
go 1.22.0
3+
go 1.23.0
44

5-
toolchain go1.22.7
5+
toolchain go1.23.2
66

77
require (
88
cloud.google.com/go/bigquery v1.62.0

heartbeat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7
1+
FROM golang:1.23.2
22

33
RUN \
44
apt-get update \

libbeat/docs/version.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:stack-version: 9.0.0
22
:doc-branch: main
3-
:go-version: 1.22.7
3+
:go-version: 1.23.2
44
:release-state: unreleased
55
:python: 3.7
66
:docker: 1.12

metricbeat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7
1+
FROM golang:1.23.2
22
COPY --from=docker:26.0.0-alpine3.19 /usr/local/bin/docker /usr/local/bin/
33

44
RUN \

metricbeat/module/http/_meta/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7
1+
FROM golang:1.23.2
22

33
COPY test/main.go main.go
44

metricbeat/module/nats/_meta/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG NATS_VERSION=2.0.4
22
FROM nats:$NATS_VERSION
33

44
# build stage
5-
FROM golang:1.22.7 AS build-env
5+
FROM golang:1.23.2 AS build-env
66
RUN apt-get install git mercurial gcc
77
RUN git clone https://github.com/nats-io/nats.go.git /nats-go
88
RUN cd /nats-go/examples/nats-bench && git checkout tags/v1.10.0 && go build .

metricbeat/module/vsphere/_meta/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG VSPHERE_GOLANG_VERSION
2-
FROM golang:1.22.7
2+
FROM golang:1.23.2
33

44
RUN apt-get install curl git
55
RUN go install github.com/vmware/govmomi/[email protected]

packetbeat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7
1+
FROM golang:1.23.2
22

33
RUN \
44
apt-get update \

x-pack/functionbeat/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.7
1+
FROM golang:1.23.2
22

33
RUN \
44
apt-get update \

x-pack/metricbeat/module/stan/_meta/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG STAN_VERSION=0.15.1
22
FROM nats-streaming:$STAN_VERSION
33

44
# build stage
5-
FROM golang:1.22.7 AS build-env
5+
FROM golang:1.23.2 AS build-env
66
RUN apt-get install git mercurial gcc
77
RUN git clone https://github.com/nats-io/stan.go.git /stan-go
88
RUN cd /stan-go/examples/stan-bench && git checkout tags/v0.5.2 && go build .

0 commit comments

Comments
 (0)