diff options
author | Miloslav Trmač <mitr@redhat.com> | 2020-03-20 23:25:15 +0100 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2020-03-20 23:25:15 +0100 |
commit | 036531c0064df9b21414fbad4056d90edc54533b (patch) | |
tree | ef691c7e73fcb3d7d70bf4a25056ecdc37fcd20b /pkg/specgen | |
parent | 7a095af92a6a39845b1c362222b23632f3e17001 (diff) | |
download | podman-036531c0064df9b21414fbad4056d90edc54533b.tar.gz podman-036531c0064df9b21414fbad4056d90edc54533b.tar.bz2 podman-036531c0064df9b21414fbad4056d90edc54533b.zip |
Fix the pkg/specgen/SpecGenerator.getSeccompConfig stub
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'pkg/specgen')
-rw-r--r-- | pkg/specgen/config_unsupported.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/specgen/config_unsupported.go b/pkg/specgen/config_unsupported.go index 5d24ac39c..c2d3257c9 100644 --- a/pkg/specgen/config_unsupported.go +++ b/pkg/specgen/config_unsupported.go @@ -3,10 +3,11 @@ package specgen import ( + "github.com/containers/libpod/libpod/image" spec "github.com/opencontainers/runtime-spec/specs-go" "github.com/pkg/errors" ) -func (s *SpecGenerator) getSeccompConfig(configSpec *spec.Spec) (*spec.LinuxSeccomp, error) { +func (s *SpecGenerator) getSeccompConfig(configSpec *spec.Spec, img *image.Image) (*spec.LinuxSeccomp, error) { return nil, errors.New("function not supported on non-linux OS's") } |