diff --git a/pkg/specgen/config_unsupported.go b/pkg/specgen/config_unsupported.go deleted file mode 100644 index becfd2eafd..0000000000 --- a/pkg/specgen/config_unsupported.go +++ /dev/null @@ -1,15 +0,0 @@ -//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") -}