Files
podman/pkg/specgen/generate/validate_freebsd.go
Paul Holzinger 32c25c6026 pkg/specgen/generate: NOP verifyContainerResources() on freebsd
There is no point in calling into cgroup specific code as freebsd does
not support cgroups.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-12-07 11:24:47 +01:00

9 lines
240 B
Go

package generate
import "github.com/containers/podman/v4/pkg/specgen"
// verifyContainerResources does nothing on freebsd as it has no cgroups
func verifyContainerResources(s *specgen.SpecGenerator) ([]string, error) {
return nil, nil
}