Files
podman/pkg/specgen/config_unsupported.go
Sascha Grunert a46f798831 pkg: switch to golang native error wrapping
We now use the golang error wrapping format specifier `%w` instead of
the deprecated github.com/pkg/errors package.

[NO NEW TESTS NEEDED]

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2022-07-08 08:54:47 +02:00

16 lines
358 B
Go

//go:build !linux
// +build !linux
package specgen
import (
"errors"
"github.com/containers/common/libimage"
spec "github.com/opencontainers/runtime-spec/specs-go"
)
func (s *SpecGenerator) getSeccompConfig(configSpec *spec.Spec, img *libimage.Image) (*spec.LinuxSeccomp, error) {
return nil, errors.New("function not supported on non-linux OS's")
}