@@ -139,7 +139,7 @@ type Linux struct {
139139 // CgroupsPath specifies the path to cgroups that are created and/or joined by the container.
140140 // The path is expected to be relative to the cgroups mountpoint.
141141 // If resources are specified, the cgroups at CgroupsPath will be updated based on resources.
142- CgroupsPath * string `json:"cgroupsPath,omitempty"`
142+ CgroupsPath string `json:"cgroupsPath,omitempty"`
143143 // Namespaces contains the namespaces that are created and/or joined by the container
144144 Namespaces []LinuxNamespace `json:"namespaces,omitempty"`
145145 // Devices are a list of device nodes that are created for the container
@@ -292,9 +292,9 @@ type LinuxCPU struct {
292292 // CPU period to be used for realtime scheduling (in usecs).
293293 RealtimePeriod * uint64 `json:"realtimePeriod,omitempty"`
294294 // CPUs to use within the cpuset. Default is to use any CPU available.
295- Cpus * string `json:"cpus,omitempty"`
295+ Cpus string `json:"cpus,omitempty"`
296296 // List of memory nodes in the cpuset. Default is to use any available memory node.
297- Mems * string `json:"mems,omitempty"`
297+ Mems string `json:"mems,omitempty"`
298298}
299299
300300// LinuxPids for Linux cgroup 'pids' resource management (Linux 4.3)
@@ -356,13 +356,13 @@ type LinuxDeviceCgroup struct {
356356 // Allow or deny
357357 Allow bool `json:"allow"`
358358 // Device type, block, char, etc.
359- Type * string `json:"type,omitempty"`
359+ Type string `json:"type,omitempty"`
360360 // Major is the device's major number.
361361 Major * int64 `json:"major,omitempty"`
362362 // Minor is the device's minor number.
363363 Minor * int64 `json:"minor,omitempty"`
364364 // Cgroup access permissions format, rwm.
365- Access * string `json:"access,omitempty"`
365+ Access string `json:"access,omitempty"`
366366}
367367
368368// LinuxSeccomp represents syscall restrictions
0 commit comments