Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ type Agent struct {

cacheRefreshInterval time.Duration
clusterCache *appstatecache.Cache

inflightMu sync.Mutex
inflightLogs map[string]context.CancelFunc
}

const defaultQueueName = "default"
Expand Down
2 changes: 2 additions & 0 deletions agent/inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ func (a *Agent) processIncomingEvent(ev *event.Event) error {
log().WithError(err).Errorf("Unable to process incoming redis event")
}
}()
case event.TargetContainerLog:
err = a.processIncomingContainerLogRequest(ev)
default:
err = fmt.Errorf("unknown event target - processIncomingEvent: %s", ev.Target())
}
Expand Down
Loading