File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ type Process struct {
4747 // Capabilities are Linux capabilities that are kept for the process.
4848 Capabilities * LinuxCapabilities `json:"capabilities,omitempty" platform:"linux"`
4949 // Rlimits specifies rlimit options to apply to the process.
50- Rlimits []LinuxRlimit `json:"rlimits,omitempty" platform:"linux "`
50+ Rlimits []Rlimit `json:"rlimits,omitempty"`
5151 // NoNewPrivileges controls whether additional privileges could be gained by processes in the container.
5252 NoNewPrivileges bool `json:"noNewPrivileges,omitempty" platform:"linux"`
5353 // ApparmorProfile specifies the apparmor profile for the container.
@@ -215,8 +215,8 @@ type LinuxIDMapping struct {
215215 Size uint32 `json:"size"`
216216}
217217
218- // LinuxRlimit type and restrictions
219- type LinuxRlimit struct {
218+ // Rlimit type and restrictions
219+ type Rlimit struct {
220220 // Type of the rlimit to set
221221 Type string `json:"type"`
222222 // Hard is the hard limit for the specified type
You can’t perform that action at this time.
0 commit comments