Skip to content

Commit

Permalink
all list of containers to streaming dbg
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Aug 4, 2019
1 parent 353435f commit 218af03
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/agent/event_loop.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ func (l *EventLoop) onEvent(ctx context.Context, event Event) {
}()

l.logStreams[event.ContainerID] = ls
log.Printf("[DEBUG] streaming for %d containers", len(l.logStreams))
names := []string{}
for _, ci := range l.logStreams {
names = append(names, ci.Name())
}
log.Printf("[DEBUG] streaming for %d containers %v", len(l.logStreams), names)
return
}

Expand Down

0 comments on commit 218af03

Please sign in to comment.