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

package createconfig

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

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