summaryrefslogtreecommitdiff
path: root/pkg/specgen
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-03-21 14:48:50 +0100
committerGitHub <noreply@github.com>2020-03-21 14:48:50 +0100
commit89a3e5979b5f247e83a1723c7f355983fa7c7a86 (patch)
treeb984a7371d05de8713df0f662eca8a33935f9c30 /pkg/specgen
parent195a82ffbc435716ef5bb69f6eefa333abe3f840 (diff)
parentde7bcca7d5b0129329b6b08fd241cdc1a768bafb (diff)
downloadpodman-89a3e5979b5f247e83a1723c7f355983fa7c7a86.tar.gz
podman-89a3e5979b5f247e83a1723c7f355983fa7c7a86.tar.bz2
podman-89a3e5979b5f247e83a1723c7f355983fa7c7a86.zip
Merge pull request #5579 from mtrmac/macOS-unit-tests
Make macOS unit tests runnable
Diffstat (limited to 'pkg/specgen')
-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")
}