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.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/boot/events.go b/runsc/boot/events.go
index 0eb75c14c..832339cf4 100644
--- a/runsc/boot/events.go
+++ b/runsc/boot/events.go
@@ -62,8 +62,8 @@ type Memory struct {
// Event gets the events from the container.
func (cm *containerManager) Event(_ *struct{}, out *Event) error {
stats := &Stats{}
- stats.populateMemory(cm.k)
- stats.populatePIDs(cm.k)
+ stats.populateMemory(cm.l.k)
+ stats.populatePIDs(cm.l.k)
*out = Event{Type: "stats", Data: stats}
return nil
}