Change HugepageLimit.Limit type to uint64

Signed-off-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
Antonio Murdaca 2015-09-17 21:19:11 +02:00
parent 5e633ba00b
commit 6b5a66f7e1
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