pkg/util: Add no-op implementation of AddPrivilegedDevices on FreeBSD

[NO NEW TESTS NEEDED]

Signed-off-by: Doug Rabson <dfr@rabson.org>
This commit is contained in:
Doug Rabson
2022-08-31 15:49:27 +01:00
parent 0889215d83
commit a5ee3cb790

View File

@ -5,8 +5,14 @@ package util
import ( import (
"errors" "errors"
"github.com/opencontainers/runtime-tools/generate"
) )
func GetContainerPidInformationDescriptors() ([]string, error) { func GetContainerPidInformationDescriptors() ([]string, error) {
return []string{}, errors.New("this function is not supported on freebsd") return []string{}, errors.New("this function is not supported on freebsd")
} }
func AddPrivilegedDevices(g *generate.Generator) error {
return nil
}