mirror of
https://github.com/containers/podman.git
synced 2025-12-05 12:52:12 +08:00
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>
19 lines
279 B
Go
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
|
|
}
|