From 3b5805d521b8fa8a948efe74133ad1148a4c180d Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Tue, 12 Mar 2019 16:12:09 -0400 Subject: Add event on container death Signed-off-by: Matthew Heon --- libpod/container_api.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'libpod/container_api.go') diff --git a/libpod/container_api.go b/libpod/container_api.go index 3698a15ec..8db12c14a 100644 --- a/libpod/container_api.go +++ b/libpod/container_api.go @@ -89,7 +89,6 @@ func (c *Container) Start(ctx context.Context, recursive bool) (err error) { } // Start the container - defer c.newContainerEvent(events.Start) return c.start() } @@ -127,7 +126,6 @@ func (c *Container) StartAndAttach(ctx context.Context, streams *AttachStreams, } close(attachChan) }() - c.newContainerEvent(events.Start) c.newContainerEvent(events.Attach) return attachChan, nil } -- cgit v1.2.3-54-g00ecf