Files
docker-cli/components/engine/profiles/seccomp/seccomp_unsupported.go
Michael Crosby 45ddc4bfcb Add engine-api types to docker
This moves the types for the `engine-api` repo to the existing types
package.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: 91e197d614547f0202e6ae9b8a24d88ee131d950
Component: engine
2016-09-07 11:05:58 -07:00

14 lines
275 B
Go

// +build linux,!seccomp
package seccomp
import (
"github.com/docker/docker/api/types"
"github.com/opencontainers/runtime-spec/specs-go"
)
// DefaultProfile returns a nil pointer on unsupported systems.
func DefaultProfile(rs *specs.Spec) *types.Seccomp {
return nil
}