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> Upstream-commit: a3155743adc80e4ce0c4e84fccad2649d6c14f00 Component: engine
This commit is contained in:
@@ -8,6 +8,6 @@ import (
|
||||
)
|
||||
|
||||
// DefaultProfile returns a nil pointer on unsupported systems.
|
||||
func DefaultProfile(rs *specs.Spec) *types.Seccomp {
|
||||
func DefaultProfile() *types.Seccomp {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user