mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
start(): don't defer event
We'd otherwise emit the start event much after the actual start of the container when --sdnotify=healthy. I missed adding the change to commit 0cfd12786fd1. [NO NEW TESTS NEEDED] Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@ -1241,7 +1241,7 @@ func (c *Container) start(ctx context.Context) error {
|
||||
}
|
||||
}
|
||||
|
||||
defer c.newContainerEvent(events.Start)
|
||||
c.newContainerEvent(events.Start)
|
||||
|
||||
if err := c.save(); err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user