blob: 28c4ad1664d9913edbb29057f4bdec9c628464e8 [file] [edit]
//go:build runc_nocriu
package libcontainer
import "errors"
var ErrNoCR = errors.New("this runc binary has not been compiled with checkpoint/restore support enabled (runc_nocriu)")
func (c *Container) Restore(process *Process, criuOpts *CriuOpts) error {
return ErrNoCR
}
func (c *Container) Checkpoint(criuOpts *CriuOpts) error {
return ErrNoCR
}