From a5ee3cb79065907548e95fef5709f08f51041b69 Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Wed, 31 Aug 2022 15:49:27 +0100 Subject: pkg/util: Add no-op implementation of AddPrivilegedDevices on FreeBSD [NO NEW TESTS NEEDED] Signed-off-by: Doug Rabson --- pkg/util/utils_freebsd.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkg/util') diff --git a/pkg/util/utils_freebsd.go b/pkg/util/utils_freebsd.go index 17436ae81..9b0d7c8c7 100644 --- a/pkg/util/utils_freebsd.go +++ b/pkg/util/utils_freebsd.go @@ -5,8 +5,14 @@ package util import ( "errors" + + "github.com/opencontainers/runtime-tools/generate" ) func GetContainerPidInformationDescriptors() ([]string, error) { return []string{}, errors.New("this function is not supported on freebsd") } + +func AddPrivilegedDevices(g *generate.Generator) error { + return nil +} -- cgit v1.2.3-54-g00ecf