Skip to content

Commit 619c202

Browse files
committed
Merge branch 'revert-2e0cec32' into 'master'
Revert "Merge branch 'bug/swap' into 'master'" See merge request !97
2 parents c289a75 + f17ab48 commit 619c202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster/calcium/create_container.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ func (c *calcium) makeContainerOptions(index int, quota map[string]int, specs ty
676676
} else {
677677
resource = enginecontainer.Resources{
678678
Memory: opts.Memory,
679-
MemorySwap: opts.Memory + 1, // MemorySwap == Memory means unlimited MemorySwap
679+
MemorySwap: opts.Memory,
680680
CPUPeriod: utils.CpuPeriodBase,
681681
CPUQuota: int64(opts.CPUQuota * float64(utils.CpuPeriodBase)),
682682
Ulimits: ulimits,

0 commit comments

Comments
 (0)