Skip to content

Commit

Permalink
docker: fix container event logging having swapped up/down
Browse files Browse the repository at this point in the history
  • Loading branch information
Tero Marttila committed Aug 12, 2016
1 parent 23a9d0b commit 71b1bcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/containers.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ func (containers Containers) update(event containerEvent) {
}

if event.Container.State.Running {
log.Printf("docker:Containers.update %v -> %v: down", event, state)
} else {
log.Printf("docker:Containers.update %v -> %v: up", event, state)
} else {
log.Printf("docker:Containers.update %v -> %v: down", event, state)
}

containers[event.ID] = event.Container
Expand Down

0 comments on commit 71b1bcd

Please sign in to comment.