Cleanup container LogEvent calls

Move some calls to container.LogEvent down lower so that there's
less of a chance of them being missed. Also add a few more events
that appear to have been missed.

Added testcases for new events: commit, copy, resize, attach, rename, top

Signed-off-by: Doug Davis <dug@us.ibm.com>
This commit is contained in:
Doug Davis
2015-06-01 12:39:28 -07:00
parent 04c6f09fbd
commit 8232312c1e
16 changed files with 267 additions and 35 deletions
+1
View File
@@ -61,5 +61,6 @@ func (daemon *Daemon) Commit(container *Container, repository, tag, comment, aut
return img, err
}
}
container.LogEvent("commit")
return img, nil
}