Merge branch '1.4'

This commit is contained in:
Matthias Radestock committed 2016-02-23 13:56:56 +00:00
commit 3283bc89fc
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ func (c *Client) AddObserver(ob ContainerObserver) error {
func (c *Client) IsContainerNotRunning(idStr string) bool {
container, err := c.InspectContainer(idStr)
if err == nil {
return !container.State.Running
return !container.State.Running || container.State.Restarting
}
if _, notThere := err.(*docker.NoSuchContainer); notThere {
return true