aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2020-03-20 23:25:15 +0100
committerMiloslav Trmač <mitr@redhat.com>2020-03-20 23:25:15 +0100
commit036531c0064df9b21414fbad4056d90edc54533b (patch)
treeef691c7e73fcb3d7d70bf4a25056ecdc37fcd20b /pkg
parent7a095af92a6a39845b1c362222b23632f3e17001 (diff)
downloadpodman-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')
-rw-r--r--pkg/specgen/config_unsupported.go3
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")
}