@@ -225,7 +225,7 @@ type LinuxHugepageLimit struct {
225225 // Pagesize is the hugepage size
226226 Pagesize string `json:"pageSize"`
227227 // Limit is the limit of "hugepagesize" hugetlb usage
228- Limit int64 `json:"limit"`
228+ Limit uint64 `json:"limit"`
229229}
230230
231231// LinuxInterfacePriority for network interfaces
@@ -281,15 +281,15 @@ type LinuxBlockIO struct {
281281// LinuxMemory for Linux cgroup 'memory' resource management
282282type LinuxMemory struct {
283283 // Memory limit (in bytes).
284- Limit * int64 `json:"limit,omitempty"`
284+ Limit * uint64 `json:"limit,omitempty"`
285285 // Memory reservation or soft_limit (in bytes).
286- Reservation * int64 `json:"reservation,omitempty"`
286+ Reservation * uint64 `json:"reservation,omitempty"`
287287 // Total memory limit (memory + swap).
288- Swap * int64 `json:"swap,omitempty"`
288+ Swap * uint64 `json:"swap,omitempty"`
289289 // Kernel memory limit (in bytes).
290- Kernel * int64 `json:"kernel,omitempty"`
290+ Kernel * uint64 `json:"kernel,omitempty"`
291291 // Kernel memory limit for tcp (in bytes)
292- KernelTCP * int64 `json:"kernelTCP,omitempty"`
292+ KernelTCP * uint64 `json:"kernelTCP,omitempty"`
293293 // How aggressive the kernel will swap memory pages. Range from 0 to 100.
294294 Swappiness * uint64 `json:"swappiness,omitempty"`
295295}
0 commit comments