mirror of
https://github.com/containers/podman.git
synced 2025-05-21 17:16:22 +08:00

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>
16 lines
358 B
Go
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")
|
|
}
|