Skip to content

Commit 986fc98

Browse files
committed
Mark RootfsPropagation as omitempty
Signed-off-by: Jonathan Boulle <[email protected]>
1 parent 0879a94 commit 986fc98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime_config_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type LinuxRuntime struct {
4040
// Seccomp specifies the seccomp security settings for the container.
4141
Seccomp Seccomp `json:"seccomp"`
4242
// RootfsPropagation is the rootfs mount propagation mode for the container
43-
RootfsPropagation string `json:"rootfsPropagation"`
43+
RootfsPropagation string `json:"rootfsPropagation,omitempty"`
4444
}
4545

4646
// Namespace is the configuration for a linux namespace

0 commit comments

Comments
 (0)