Merge pull request #198 from runcom/hugepagetlb-limit-type

Change HugepageLimit.Limit type to uint64
This commit is contained in:
Vincent Batts 2015-09-17 19:27:27 -04:00
commit 96bcd043aa
1 changed files with 3 additions and 1 deletions

View File

@ -92,8 +92,10 @@ type Rlimit struct {
// HugepageLimit structure corresponds to limiting kernel hugepages
type HugepageLimit struct {
// Pagesize is the hugepage size
Pagesize string `json:"pageSize"`
Limit int `json:"limit"`
// Limit is the limit of "hugepagesize" hugetlb usage
Limit uint64 `json:"limit"`
}
// InterfacePriority for network interfaces