chanotify should use interface{} keys
Fixes #79. Signed-off-by: Burcu Dogan <jbd@golang.org>
This commit is contained in:
@@ -74,7 +74,7 @@ func (w *worker) Start() {
|
||||
if err != nil {
|
||||
logrus.WithField("error", err).Error("containerd: notify OOM events")
|
||||
} else {
|
||||
w.s.notifier.Add(n, t.Container.ID())
|
||||
w.s.notifier.Add(t.Container.ID(), n)
|
||||
}
|
||||
}
|
||||
ContainerStartTimer.UpdateSince(started)
|
||||
|
||||
Reference in New Issue
Block a user