From d3fe6111ecca5ecba255414f68d4277780484e50 Mon Sep 17 00:00:00 2001 From: Dan Kortschak Date: Mon, 16 Oct 2023 08:50:19 +1030 Subject: [PATCH] auditbeat/module/auditd: don't unnecessarily restrict build --- auditbeat/module/auditd/{config_linux.go => config.go} | 2 ++ .../module/auditd/{config_linux_test.go => config_test.go} | 2 ++ 2 files changed, 4 insertions(+) rename auditbeat/module/auditd/{config_linux.go => config.go} (99%) rename auditbeat/module/auditd/{config_linux_test.go => config_test.go} (99%) diff --git a/auditbeat/module/auditd/config_linux.go b/auditbeat/module/auditd/config.go similarity index 99% rename from auditbeat/module/auditd/config_linux.go rename to auditbeat/module/auditd/config.go index 4a03584c3b7b..9729e0e44513 100644 --- a/auditbeat/module/auditd/config_linux.go +++ b/auditbeat/module/auditd/config.go @@ -15,6 +15,8 @@ // specific language governing permissions and limitations // under the License. +//go:build unix + package auditd import ( diff --git a/auditbeat/module/auditd/config_linux_test.go b/auditbeat/module/auditd/config_test.go similarity index 99% rename from auditbeat/module/auditd/config_linux_test.go rename to auditbeat/module/auditd/config_test.go index d48eea8c6c8d..13e5fda19d08 100644 --- a/auditbeat/module/auditd/config_linux_test.go +++ b/auditbeat/module/auditd/config_test.go @@ -15,6 +15,8 @@ // specific language governing permissions and limitations // under the License. +//go:build unix + package auditd import (