freebsd-ports/sysutils/beats8/files/patch-libbeat_autodiscover_providers_docker_docker.go
Juraj Lutter c7e874cca9 sysutils/beats8: New port
Add sysutils/beats8, beats component for ELK 8.x.

There are many breaking changes in 8.x versions, see
https://www.elastic.co/guide/en/beats/libbeat/8.5/breaking-changes-8.0.html
for details.

Release notes for ELK 8.x are located here:
https://www.elastic.co/guide/en/beats/libbeat/8.5/release-notes.html
2022-11-26 22:03:17 +01:00

22 lines
824 B
Go

--- libbeat/autodiscover/providers/docker/docker.go.orig 2022-10-24 06:49:31 UTC
+++ libbeat/autodiscover/providers/docker/docker.go
@@ -15,8 +15,8 @@
// specific language governing permissions and limitations
// under the License.
-//go:build linux || darwin || windows
-// +build linux darwin windows
+//go:build linux || darwin || windows || freebsd
+// +build linux darwin windows freebsd
package docker
@@ -33,7 +33,7 @@ import (
"github.com/elastic/beats/v7/libbeat/common"
"github.com/elastic/elastic-agent-autodiscover/bus"
- "github.com/elastic/elastic-agent-autodiscover/docker"
+ docker "github.com/elastic/elastic-agent-autodiscover/docker"
"github.com/elastic/elastic-agent-autodiscover/utils"
"github.com/elastic/elastic-agent-libs/config"
"github.com/elastic/elastic-agent-libs/keystore"