Files
podman/pkg/criu/criu_unsupported.go
Paul Holzinger ab502fc5c4 criu: return error when checking for min version
There is weird issue #18856 which causes the version check to fail.
Return the underlying error in these cases so we can see it and debug
it.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2023-06-12 15:29:21 +02:00

19 lines
279 B
Go

//go:build !linux
// +build !linux
package criu
import "fmt"
func CheckForCriu(version int) error {
return fmt.Errorf("CheckForCriu not supported on this platform")
}
func MemTrack() bool {
return false
}
func GetCriuVersion() (int, error) {
return MinCriuVersion, nil
}