libpod: fix a confusing error message from 'podman system reset' on FreeBSD

This was discovered by a user while testing Podman on FreeBSD
(oci-playground/freebsd-podman-testing/issues/17). The error message
didn't stop 'podman system reset' from working and this commit simply
suppressses the error on FreeBSD.

Signed-off-by: Doug Rabson <dfr@rabson.org>
This commit is contained in:
Doug Rabson
2024-10-03 17:15:49 +01:00
parent 093571029b
commit 0463ad12cb
4 changed files with 96 additions and 85 deletions

View File

@ -1,4 +1,4 @@
//go:build !remote && !linux
//go:build !remote && !linux && !freebsd
package libpod
@ -9,7 +9,3 @@ import (
func (r *Runtime) stopPauseProcess() error {
return errors.New("not implemented (*Runtime) stopPauseProcess")
}
func (r *Runtime) Migrate(newRuntime string) error {
return errors.New("not implemented (*Runtime) migrate")
}