We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e33fae + acaf689 commit 4d6e672Copy full SHA for 4d6e672
libcontainer/cgroups/systemd/apply_systemd.go
@@ -260,7 +260,7 @@ func (m *Manager) Apply(pid int) error {
260
261
if c.Resources.Memory != 0 {
262
properties = append(properties,
263
- newProp("MemoryLimit", c.Resources.Memory))
+ newProp("MemoryLimit", uint64(c.Resources.Memory)))
264
}
265
266
if c.Resources.CpuShares != 0 {
0 commit comments