Merge pull request #302 from mota/remove-state

Remove the container's state from the store when destroyed
This commit is contained in:
Andrea Luzzardi
2015-01-26 13:45:56 -08:00

View File

@@ -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)
}