Merge pull request #7499 from LK4D4/fix_events_error
Fix error message on logging events
This commit is contained in:
commit
e94d772910
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue