Skip to content

Commit

Permalink
Fix docker import generator for 1.17.1 (#28374)
Browse files Browse the repository at this point in the history
  • Loading branch information
fearful-symmetry authored and kvch committed Oct 13, 2021
1 parent 5e24638 commit 632235f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fix `logstash` module when `xpack.enabled: true` is set from emitting redundant events. {pull}22808[22808]
- Change vsphere.datastore.capacity.used.pct value to betweeen 0 and 1. {pull}23148[23148]
- `beat` module respects `basepath` config option. {pull}28162[28162]
- Fix list_docker.go {pull}28374[28374]

*Packetbeat*

Expand Down
1 change: 1 addition & 0 deletions metricbeat/include/list_docker.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion metricbeat/scripts/mage/fields.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func GenerateOSSMetricbeatModuleIncludeListGo() error {
ModuleDirs: []string{"module/docker", "module/kubernetes"},
ModulesToExclude: nil,
Outfile: "include/list_docker.go",
BuildTags: "\n// +build linux darwin windows\n",
BuildTags: "\n//go:build linux || darwin || windows\n// +build linux darwin windows\n",
Pkg: "include"})
if err != nil {
return err
Expand Down

0 comments on commit 632235f

Please sign in to comment.