Skip to content

Commit 5a606f4

Browse files
committed
Merge pull request #333 from mrunalp/optional_seccomp
Seccomp should be optional
2 parents a1e32a8 + 36b0b18 commit 5a606f4

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)