From b9e14055c17d798116455527791ab2508d30a6fc Mon Sep 17 00:00:00 2001 From: Johannes Ziemke Date: Mon, 12 Aug 2024 12:35:08 +0200 Subject: [PATCH] Enable uname collector on AIX Signed-off-by: Johannes Ziemke --- collector/uname.go | 4 ++-- collector/uname_bsd.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/collector/uname.go b/collector/uname.go index a333fd48..6b4f06e5 100644 --- a/collector/uname.go +++ b/collector/uname.go @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build (darwin || freebsd || openbsd || netbsd || linux) && !nouname -// +build darwin freebsd openbsd netbsd linux +//go:build (darwin || freebsd || openbsd || netbsd || linux || aix) && !nouname +// +build darwin freebsd openbsd netbsd linux aix // +build !nouname package collector diff --git a/collector/uname_bsd.go b/collector/uname_bsd.go index 69bf38e9..fa565a1c 100644 --- a/collector/uname_bsd.go +++ b/collector/uname_bsd.go @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build (darwin || freebsd || openbsd || netbsd) && !nouname -// +build darwin freebsd openbsd netbsd +//go:build (darwin || freebsd || openbsd || netbsd || aix) && !nouname +// +build darwin freebsd openbsd netbsd aix // +build !nouname package collector