pkg/specgen: remove config_unsupported.go

This is not used at all but causes a libimage import for non linux
builds which causes bloat for them, with the new !remote tag this is no
longer possible and we have to remove it to fix the build.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger 2023-10-24 12:49:40 +02:00
parent cb9dfeb8ec
commit 8a0968baa2
No known key found for this signature in database
GPG Key ID: EB145DD938A3CAF2
1 changed files with 0 additions and 15 deletions

View File

@ -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")
}