chanotify should use interface{} keys
Fixes #79. Signed-off-by: Burcu Dogan <jbd@golang.org>
This commit is contained in:
parent
85bc51df33
commit
bc4f1aae01
4 changed files with 17 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue