We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9814947 commit 928b847Copy full SHA for 928b847
agent/agent.go
@@ -104,6 +104,9 @@ type Agent struct {
104
105
cacheRefreshInterval time.Duration
106
clusterCache *appstatecache.Cache
107
+
108
+ inflightMu sync.Mutex
109
+ inflightLogs map[string]context.CancelFunc
110
}
111
112
const defaultQueueName = "default"
agent/inbound.go
@@ -72,6 +72,8 @@ func (a *Agent) processIncomingEvent(ev *event.Event) error {
72
log().WithError(err).Errorf("Unable to process incoming redis event")
73
74
}()
75
+ case event.TargetContainerLog:
76
+ err = a.processIncomingContainerLogRequest(ev)
77
default:
78
err = fmt.Errorf("unknown event target - processIncomingEvent: %s", ev.Target())
79
0 commit comments