Skip to content

Commit 6a17a38

Browse files
Merge pull request #783 from q384566678/range-limt
Remove range limit
2 parents 101e6f9 + d417d39 commit 6a17a38

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

@@ -456,7 +456,7 @@ type WindowsMemoryResources struct {
456456
type WindowsCPUResources struct {
457457
// Number of CPUs available to the container.
458458
Count *uint64 `json:"count,omitempty"`
459-
// CPU shares (relative weight to other containers with cpu shares). Range is from 1 to 10000.
459+
// CPU shares (relative weight to other containers with cpu shares).
460460
Shares *uint16 `json:"shares,omitempty"`
461461
// Specifies the portion of processor cycles that this container can use as a percentage times 100.
462462
Maximum *uint16 `json:"maximum,omitempty"`

0 commit comments

Comments
 (0)