Fix comment of swap limit
Set `-1` doesn't mean disable swap, disable swap means you can't use swap memory, set `-1` really means you can use unlimited swap memory. Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
parent
986637c97a
commit
8bbe901045
|
@ -40,7 +40,7 @@ type Resources struct {
|
|||
// Memory reservation or soft_limit (in bytes)
|
||||
MemoryReservation int64 `json:"memory_reservation"`
|
||||
|
||||
// Total memory usage (memory + swap); set `-1' to disable swap
|
||||
// Total memory usage (memory + swap); set `-1` to enable unlimited swap
|
||||
MemorySwap int64 `json:"memory_swap"`
|
||||
|
||||
// Kernel memory limit (in bytes)
|
||||
|
|
Loading…
Reference in New Issue