Skip to content

Commit d417d39

Browse files
author
zhouhao
committed
Remove range limit
Signed-off-by: zhouhao <[email protected]>
1 parent 13895d6 commit d417d39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specs-go/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ type LinuxMemory struct {
293293
Kernel *uint64 `json:"kernel,omitempty"`
294294
// Kernel memory limit for tcp (in bytes)
295295
KernelTCP *uint64 `json:"kernelTCP,omitempty"`
296-
// How aggressive the kernel will swap memory pages. Range from 0 to 100.
296+
// How aggressive the kernel will swap memory pages.
297297
Swappiness *uint64 `json:"swappiness,omitempty"`
298298
}
299299

@@ -458,7 +458,7 @@ type WindowsMemoryResources struct {
458458
type WindowsCPUResources struct {
459459
// Number of CPUs available to the container.
460460
Count *uint64 `json:"count,omitempty"`
461-
// CPU shares (relative weight to other containers with cpu shares). Range is from 1 to 10000.
461+
// CPU shares (relative weight to other containers with cpu shares).
462462
Shares *uint16 `json:"shares,omitempty"`
463463
// Percent of available CPUs usable by the container.
464464
Percent *uint8 `json:"percent,omitempty"`

0 commit comments

Comments
 (0)