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

package specgen

import (
	spec "github.com/opencontainers/runtime-spec/specs-go"
	"github.com/pkg/errors"
)

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