Skip to content

Commit af7b984

Browse files
elastic-observability-automation[bot]kruskallmergify[bot]ericywl
authored
[updatecli] Update to elastic/beats@0d99bc5f0d06 (#16157)
* chore: Update to elastic/beats@0d99bc5f0d06 Made with ❤️️ by updatecli * fix: resolve compile errors --------- Co-authored-by: elastic-observability-automation[bot] <180520183+elastic-observability-automation[bot]@users.noreply.github.com> Co-authored-by: kruskal <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Eric <[email protected]>
1 parent 8a55c71 commit af7b984

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

NOTICE.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -455,11 +455,11 @@ Contents of probable licence file $GOMODCACHE/github.com/elastic/[email protected].
455455

456456
--------------------------------------------------------------------------------
457457
Dependency : github.com/elastic/beats/v7
458-
Version: v7.0.0-alpha2.0.20250311090720-d0d0bce5f75d
458+
Version: v7.0.0-alpha2.0.20250312142311-0d99bc5f0d06
459459
Licence type (autodetected): Elastic
460460
--------------------------------------------------------------------------------
461461

462-
Contents of probable licence file $GOMODCACHE/github.com/elastic/beats/[email protected].20250311090720-d0d0bce5f75d/LICENSE.txt:
462+
Contents of probable licence file $GOMODCACHE/github.com/elastic/beats/[email protected].20250312142311-0d99bc5f0d06/LICENSE.txt:
463463

464464
Source code in this repository is variously licensed under the Apache License
465465
Version 2.0, an Apache compatible license, or the Elastic License. Outside of

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/dustin/go-humanize v1.0.1
1010
github.com/elastic/apm-aggregation v1.2.0
1111
github.com/elastic/apm-data v1.18.0
12-
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20250311090720-d0d0bce5f75d
12+
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20250312142311-0d99bc5f0d06
1313
github.com/elastic/elastic-agent-client/v7 v7.17.1
1414
github.com/elastic/elastic-agent-libs v0.18.10
1515
github.com/elastic/elastic-agent-system-metrics v0.11.9

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ github.com/elastic/apm-perf v0.0.0-20250207152505-1dbeb202ff22 h1:br+XeQOcxNFSv+
175175
github.com/elastic/apm-perf v0.0.0-20250207152505-1dbeb202ff22/go.mod h1:gE+FV7xXv0/nBenviCvpvnvTpUkjJXtuOWs2UT+ZRtw=
176176
github.com/elastic/apm-tools v0.0.0-20250124173757-336011228dbe h1:LDtn/A8Tsfz8DQlbXtmDud9ha9oOGriwJGB7V0Ozik8=
177177
github.com/elastic/apm-tools v0.0.0-20250124173757-336011228dbe/go.mod h1:SIlGcpTnnosxZ3OvoRC7ADxhHdlsu/nwUdVMF9OkgYc=
178-
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20250311090720-d0d0bce5f75d h1:WAYBuuaanAe7OT8xoDqK7TjXaZlOKkgaW/j4JM5CBnI=
179-
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20250311090720-d0d0bce5f75d/go.mod h1:5UGs5zZPJJ5uG3HeJpLnHRFPNQdUChT4rwehlh3OD1Q=
178+
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20250312142311-0d99bc5f0d06 h1:88wDEYttDDsEm/htxXZ3rqp4TXH9O8P4esq6baQfAAw=
179+
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20250312142311-0d99bc5f0d06/go.mod h1:q+eNJqoFI8ZpnA8747NHOgUGMi3NVQVbY7f51GZWSnQ=
180180
github.com/elastic/elastic-agent-autodiscover v0.9.0 h1:+iWIKh0u3e8I+CJa3FfWe9h0JojNasPgYIA47gpuuns=
181181
github.com/elastic/elastic-agent-autodiscover v0.9.0/go.mod h1:5iUxLHhVdaGSWYTveSwfJEY4RqPXTG13LPiFoxcpFd4=
182182
github.com/elastic/elastic-agent-client/v7 v7.17.1 h1:ORCDXzFs1JyhI5neWbTAPWCwaFi+BtKojSLiCpaAbf0=

internal/beatcmd/beat.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ func (b *Beat) Run(ctx context.Context) error {
325325
var apiServer *api.Server
326326
if b.Config.HTTP.Enabled() {
327327
var err error
328-
apiServer, err = api.NewWithDefaultRoutes(logp.NewLogger(""), b.Config.HTTP, monitoring.GetNamespace)
328+
apiServer, err = api.NewWithDefaultRoutes(logp.NewLogger(""), b.Config.HTTP, api.NamespaceLookupFunc())
329329
if err != nil {
330330
return fmt.Errorf("could not start the HTTP server for the API: %w", err)
331331
}

0 commit comments

Comments
 (0)