mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-24 00:28:00 +00:00
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>
This commit is contained in:
parent
a687c38860
commit
32c25c6026
2 changed files with 8 additions and 0 deletions
8
pkg/specgen/generate/validate_freebsd.go
Normal file
8
pkg/specgen/generate/validate_freebsd.go
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
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
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue