mirror of https://github.com/docker/docs.git
Remove the container's state from the store when destroyed
Signed-off-by: Pierre Wacrenier <pierre.wacrenier@gmail.com>
This commit is contained in:
parent
fabe77bdde
commit
eb48f4d2f0
|
@ -61,5 +61,5 @@ func (s *Scheduler) RemoveContainer(container *cluster.Container, force bool) er
|
|||
s.Lock()
|
||||
defer s.Unlock()
|
||||
|
||||
return container.Node.Destroy(container, force)
|
||||
return s.cluster.DestroyContainer(container, force)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue