add untag and delete

Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
Victor Vieux 2015-01-19 21:58:46 +00:00
parent e1c2dced23
commit 1dfb7ffb70
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ func (n *Node) String() string {
func (n *Node) handler(ev *dockerclient.Event, args ...interface{}) {
// Something changed - refresh our internal state.
if ev.Status == "pull" {
if ev.Status == "pull" || ev.Status == "untag" || ev.Status == "delete" {
n.refreshImages()
} else {
n.refreshContainer(ev.Id)