зеркало из https://github.com/microsoft/docker.git
15 строки
303 B
Go
15 строки
303 B
Go
package daemon
|
|
|
|
import (
|
|
"github.com/docker/docker/container"
|
|
)
|
|
|
|
// LogContainerEvent generates an event related to a container.
|
|
func (daemon *Daemon) LogContainerEvent(container *container.Container, action string) {
|
|
daemon.EventsService.Log(
|
|
action,
|
|
container.ID,
|
|
container.Config.Image,
|
|
)
|
|
}
|