Skip to content

Commit

Permalink
Fix error message on logging events
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
  • Loading branch information
LK4D4 committed Aug 9, 2014
1 parent 2c90fde commit 7afc49b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (container *Container) WriteHostConfig() error {
func (container *Container) LogEvent(action string) {
d := container.daemon
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)
}
}

Expand Down

0 comments on commit 7afc49b

Please sign in to comment.