summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/events.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/boot/events.go')
-rw-r--r--runsc/boot/events.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/boot/events.go b/runsc/boot/events.go
index f954b8c0b..717adfedd 100644
--- a/runsc/boot/events.go
+++ b/runsc/boot/events.go
@@ -68,7 +68,7 @@ func (cm *containerManager) Event(_ *struct{}, out *Event) error {
}
func (s *Stats) populateMemory(k *kernel.Kernel) {
- mem := k.Platform.Memory()
+ mem := k.MemoryFile()
mem.UpdateUsage()
_, totalUsage := usage.MemoryAccounting.Copy()
s.Memory.Usage = MemoryEntry{