diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-08-13 11:41:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-13 11:41:57 +0000 |
commit | 4136496ee713982daf3136ffe65d11a4163fabb8 (patch) | |
tree | f7b3b7d97d33ba0041bea8965803322ef6c2f519 /pkg/util | |
parent | 2e2d7524a314ecf648cc4504710165c38b3aa1bc (diff) | |
parent | 5ee3522f56f2c87db7b65e3843b6452d98bb4663 (diff) | |
download | podman-4136496ee713982daf3136ffe65d11a4163fabb8.tar.gz podman-4136496ee713982daf3136ffe65d11a4163fabb8.tar.bz2 podman-4136496ee713982daf3136ffe65d11a4163fabb8.zip |
Merge pull request #15290 from dfr/freebsd-build
FreeBSD build fixes for pkg/util and pkg/machine
Diffstat (limited to 'pkg/util')
-rw-r--r-- | pkg/util/utils_freebsd.go | 12 | ||||
-rw-r--r-- | pkg/util/utils_unsupported.go | 4 |
2 files changed, 14 insertions, 2 deletions
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") +} diff --git a/pkg/util/utils_unsupported.go b/pkg/util/utils_unsupported.go index 3a0f8646b..26fb7adf9 100644 --- a/pkg/util/utils_unsupported.go +++ b/pkg/util/utils_unsupported.go @@ -1,5 +1,5 @@ -//go:build darwin || windows -// +build darwin windows +//go:build darwin || windows || freebsd +// +build darwin windows freebsd package util |