mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
profiles: seccomp: fix !seccomp build
Previously building with seccomp disabled would cause build failures because of a mismatch in the type signatures of DefaultProfile(). Signed-off-by: Aleksa Sarai <asarai@suse.de>
This commit is contained in:
parent
3e561e4a84
commit
a3155743ad
1 changed files with 1 additions and 1 deletions
|
@ -8,6 +8,6 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// DefaultProfile returns a nil pointer on unsupported systems.
|
// DefaultProfile returns a nil pointer on unsupported systems.
|
||||||
func DefaultProfile(rs *specs.Spec) *types.Seccomp {
|
func DefaultProfile() *types.Seccomp {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue