From 04d6ff058270006b98961e0f973ff6ee4c3ba8e8 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 25 Apr 2019 16:23:09 -0400 Subject: Add System event type and renumber, refresh events Also, re-add locking to file eventer Write() to protect against concurrent events. Signed-off-by: Matthew Heon --- libpod/runtime_renumber.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libpod/runtime_renumber.go') diff --git a/libpod/runtime_renumber.go b/libpod/runtime_renumber.go index 125cf0825..735ffba34 100644 --- a/libpod/runtime_renumber.go +++ b/libpod/runtime_renumber.go @@ -1,6 +1,7 @@ package libpod import ( + "github.com/containers/libpod/libpod/events" "github.com/pkg/errors" ) @@ -53,5 +54,7 @@ func (r *Runtime) renumberLocks() error { } } + r.newSystemEvent(events.Renumber) + return nil } -- cgit v1.2.3-54-g00ecf