mirror of
https://github.com/docker/docs.git
synced 2026-04-04 02:08:57 +07:00
Merge pull request #302 from mota/remove-state
Remove the container's state from the store when destroyed
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user