Remove the container's state from the store when destroyed

Signed-off-by: Pierre Wacrenier <pierre.wacrenier@gmail.com>
This commit is contained in:
Pierre Wacrenier 2015-01-26 22:34:47 +01:00
parent fabe77bdde
commit eb48f4d2f0
1 changed files with 1 additions and 1 deletions

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