1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix error message on logging events

Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
This commit is contained in:
LK4D4 2014-08-09 18:44:53 +04:00 committed by Alexandr Morozov
parent 2c90fde982
commit 7afc49b40b

View file

@ -171,7 +171,7 @@ func (container *Container) WriteHostConfig() error {
func (container *Container) LogEvent(action string) { func (container *Container) LogEvent(action string) {
d := container.daemon d := container.daemon
if err := d.eng.Job("log", action, container.ID, d.Repositories().ImageName(container.Image)).Run(); err != nil { if err := d.eng.Job("log", action, container.ID, d.Repositories().ImageName(container.Image)).Run(); err != nil {
utils.Errorf("Error running container: %s", err) utils.Errorf("Error logging event %s for %s: %s", action, container.ID, err)
} }
} }