aboutsummaryrefslogtreecommitdiff
path: root/pkg/specgen/config_unsupported.go
blob: 3d89e49f84d53ff6b8751afd62a9584bb797d59a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// +build !linux

package specgen

import (
	"github.com/containers/podman/v3/libpod/image"
	spec "github.com/opencontainers/runtime-spec/specs-go"
	"github.com/pkg/errors"
)

func (s *SpecGenerator) getSeccompConfig(configSpec *spec.Spec, img *image.Image) (*spec.LinuxSeccomp, error) {
	return nil, errors.New("function not supported on non-linux OS's")
}