From d417d39f852d2d14b37f89a7eef9c328d5e7b735 Mon Sep 17 00:00:00 2001 From: zhouhao Date: Thu, 27 Apr 2017 13:42:47 +0800 Subject: [PATCH] Remove range limit Signed-off-by: zhouhao --- specs-go/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs-go/config.go b/specs-go/config.go index c9f7d67d1..8a21ee988 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -293,7 +293,7 @@ type LinuxMemory struct { Kernel *uint64 `json:"kernel,omitempty"` // Kernel memory limit for tcp (in bytes) KernelTCP *uint64 `json:"kernelTCP,omitempty"` - // How aggressive the kernel will swap memory pages. Range from 0 to 100. + // How aggressive the kernel will swap memory pages. Swappiness *uint64 `json:"swappiness,omitempty"` } @@ -458,7 +458,7 @@ type WindowsMemoryResources struct { type WindowsCPUResources struct { // Number of CPUs available to the container. Count *uint64 `json:"count,omitempty"` - // CPU shares (relative weight to other containers with cpu shares). Range is from 1 to 10000. + // CPU shares (relative weight to other containers with cpu shares). Shares *uint16 `json:"shares,omitempty"` // Percent of available CPUs usable by the container. Percent *uint8 `json:"percent,omitempty"`