Skip to content

Commit

Permalink
Merge pull request opencontainers#198 from runcom/hugepagetlb-limit-type
Browse files Browse the repository at this point in the history
Change HugepageLimit.Limit type to uint64
  • Loading branch information
vbatts committed Sep 17, 2015
2 parents 5e633ba + 6b5a66f commit 96bcd04
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime_config_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96bcd04

Please sign in to comment.