@@ -208,9 +208,9 @@ type LinuxRlimit struct {
208208// LinuxHugepageLimit structure corresponds to limiting kernel hugepages
209209type LinuxHugepageLimit struct {
210210 // Pagesize is the hugepage size
211- Pagesize * string `json:"pageSize,omitempty "`
211+ Pagesize string `json:"pageSize"`
212212 // Limit is the limit of "hugepagesize" hugetlb usage
213- Limit * uint64 `json:"limit,omitempty "`
213+ Limit uint64 `json:"limit"`
214214}
215215
216216// LinuxInterfacePriority for network interfaces
@@ -242,7 +242,7 @@ type LinuxWeightDevice struct {
242242type LinuxThrottleDevice struct {
243243 linuxBlockIODevice
244244 // Rate is the IO rate limit per cgroup per device
245- Rate * uint64 `json:"rate,omitempty "`
245+ Rate uint64 `json:"rate"`
246246}
247247
248248// LinuxBlockIO for Linux cgroup 'blkio' resource management
@@ -300,7 +300,7 @@ type LinuxCPU struct {
300300// LinuxPids for Linux cgroup 'pids' resource management (Linux 4.3)
301301type LinuxPids struct {
302302 // Maximum number of PIDs. Default is "no limit".
303- Limit * int64 `json:"limit,omitempty "`
303+ Limit int64 `json:"limit"`
304304}
305305
306306// LinuxNetwork identification and priority configuration
0 commit comments