Skip to content

Commit

Permalink
Fix docker import generator for 1.17.1 (elastic#28374)
Browse files Browse the repository at this point in the history
  • Loading branch information
fearful-symmetry authored and wiwen committed Nov 1, 2021
1 parent c9e639a commit f429f12
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 @@ -424,6 +424,7 @@ for a few releases. Please use other tools provided by Elastic to fetch data fro
- Remove io.time from windows {pull}22237[22237]
- 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 f429f12

Please sign in to comment.