summaryrefslogtreecommitdiff
path: root/libpod/container_api.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-03-29 12:59:05 -0400
committerMatthew Heon <matthew.heon@pm.me>2019-03-29 14:50:43 -0400
commit99318b08946b79326006d4661367812bcc838c80 (patch)
tree5f13b1df4846234506fe4c34c72315c42f2727e4 /libpod/container_api.go
parentf4d90a96cb7eabde3d999390619aae683e05b00e (diff)
downloadpodman-99318b08946b79326006d4661367812bcc838c80.tar.gz
podman-99318b08946b79326006d4661367812bcc838c80.tar.bz2
podman-99318b08946b79326006d4661367812bcc838c80.zip
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>
Diffstat (limited to 'libpod/container_api.go')
-rw-r--r--libpod/container_api.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/libpod/container_api.go b/libpod/container_api.go
index 96435c2ff..2a2381923 100644
--- a/libpod/container_api.go
+++ b/libpod/container_api.go
@@ -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
}