Merge pull request #9962 from dmcgowan/fix-podsandbox-exit-filter

Fix invalid event filter in podsandbox
This commit is contained in:
Derek McGowan 2024-03-13 16:14:14 +00:00 committed by GitHub
commit c03290cb00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,7 +90,7 @@ func init() {
eventMonitor := events.NewEventMonitor(&podSandboxEventHandler{ eventMonitor := events.NewEventMonitor(&podSandboxEventHandler{
controller: &c, controller: &c,
}) })
eventMonitor.Subscribe(client, []string{`topic="/tasks/exit"`}) eventMonitor.Subscribe(client, []string{`topic=="/tasks/exit"`})
eventMonitor.Start() eventMonitor.Start()
c.eventMonitor = eventMonitor c.eventMonitor = eventMonitor