summaryrefslogtreecommitdiff
path: root/pkg/specgen/config_unsupported.go
blob: becfd2eafd5dbae86d4092766840461f43b3dce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//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")
}