Skip to content

Commit 36b0b18

Browse files
committed
Seccomp should be optional
Signed-off-by: Mrunal Patel <[email protected]>
1 parent a1e32a8 commit 36b0b18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type Linux struct {
3434
// Devices are a list of device nodes that are created for the container
3535
Devices []Device `json:"devices"`
3636
// Seccomp specifies the seccomp security settings for the container.
37-
Seccomp Seccomp `json:"seccomp"`
37+
Seccomp *Seccomp `json:"seccomp,omitempty"`
3838
// RootfsPropagation is the rootfs mount propagation mode for the container.
3939
RootfsPropagation string `json:"rootfsPropagation,omitempty"`
4040
}

0 commit comments

Comments
 (0)