2015-11-02 18:25:26 -05:00
|
|
|
package daemon
|
|
|
|
|
2015-11-03 12:33:13 -05:00
|
|
|
// LogContainerEvent generates an event related to a container.
|
|
|
|
func (daemon *Daemon) LogContainerEvent(container *Container, action string) {
|
2015-11-02 18:25:26 -05:00
|
|
|
daemon.EventsService.Log(
|
|
|
|
action,
|
|
|
|
container.ID,
|
|
|
|
container.Config.Image,
|
|
|
|
)
|
|
|
|
}
|