mirror of
https://github.com/containers/podman
synced 2024-10-19 16:54:07 +00:00
Merge pull request #2801 from mheon/remove_wait_event
Remove wait event
This commit is contained in:
commit
e435931544
|
@ -32,7 +32,6 @@ The *container* event type will report the follow statuses:
|
|||
* sync
|
||||
* unmount
|
||||
* unpause
|
||||
* wait
|
||||
|
||||
The *pod* event type will report the follow statuses:
|
||||
* create
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -105,8 +105,6 @@ const (
|
|||
Unpause Status = "unpause"
|
||||
// Untag ...
|
||||
Untag Status = "untag"
|
||||
// Wait ...
|
||||
Wait Status = "wait"
|
||||
)
|
||||
|
||||
// EventFilter for filtering events
|
||||
|
@ -269,8 +267,6 @@ func StringToStatus(name string) (Status, error) {
|
|||
return Unpause, nil
|
||||
case Untag.String():
|
||||
return Untag, nil
|
||||
case Wait.String():
|
||||
return Wait, nil
|
||||
}
|
||||
return "", errors.Errorf("unknown event status %s", name)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue