diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-13 12:03:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-13 12:03:07 -0700 |
commit | 22fc5a3e57566326b96f465e69e5566598666841 (patch) | |
tree | c20f71ed45950f2e0638c7321988c2f303fdd8ea /libpod/container_api.go | |
parent | a65788c8761f7a89be8ec6bd0fb547ec73f957f5 (diff) | |
parent | 3b5805d521b8fa8a948efe74133ad1148a4c180d (diff) | |
download | podman-22fc5a3e57566326b96f465e69e5566598666841.tar.gz podman-22fc5a3e57566326b96f465e69e5566598666841.tar.bz2 podman-22fc5a3e57566326b96f465e69e5566598666841.zip |
Merge pull request #2621 from mheon/event_on_death
Add event on container death
Diffstat (limited to 'libpod/container_api.go')
-rw-r--r-- | libpod/container_api.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libpod/container_api.go b/libpod/container_api.go index 33ec938f7..96435c2ff 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 } |