From 6b5a66f7e1444ac7776019a4bb8ad0b93584685d Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Thu, 17 Sep 2015 21:19:11 +0200 Subject: [PATCH] Change HugepageLimit.Limit type to uint64 Signed-off-by: Antonio Murdaca --- runtime_config_linux.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime_config_linux.go b/runtime_config_linux.go index 04790237bbe..42e3fa654e3 100644 --- a/runtime_config_linux.go +++ b/runtime_config_linux.go @@ -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