Remove wait event

It's not necessary to log an event for a read-only operation like
wait.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
Matthew Heon
2019-03-29 12:59:05 -04:00
parent f4d90a96cb
commit 99318b0894
3 changed files with 0 additions and 6 deletions

View File

@ -574,7 +574,6 @@ func (c *Container) WaitWithInterval(waitTimeout time.Duration) (int32, error) {
return 0, err
}
exitCode := c.state.ExitCode
c.newContainerEvent(events.Wait)
return exitCode, nil
}