From b806e9f360c5a502c59f51d6ea43ce990a577e5e Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Sun, 8 May 2022 12:54:05 +0100 Subject: pkg: Build pkg/util on FreeBSD Remove freebsd from the unsupported list and add missing symbols. [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson --- pkg/util/utils_freebsd.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkg/util/utils_freebsd.go (limited to 'pkg/util/utils_freebsd.go') diff --git a/pkg/util/utils_freebsd.go b/pkg/util/utils_freebsd.go new file mode 100644 index 000000000..17436ae81 --- /dev/null +++ b/pkg/util/utils_freebsd.go @@ -0,0 +1,12 @@ +//go:build freebsd +// +build freebsd + +package util + +import ( + "errors" +) + +func GetContainerPidInformationDescriptors() ([]string, error) { + return []string{}, errors.New("this function is not supported on freebsd") +} -- cgit v1.2.3-54-g00ecf