ソースを参照

Fix event filters

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Michael Crosby 7 年 前
コミット
a27abc619c
1 ファイル変更4 行追加1 行削除
  1. 4 1
      libcontainerd/client_daemon.go

+ 4 - 1
libcontainerd/client_daemon.go

@@ -681,7 +681,10 @@ func (c *client) processEventStream(ctx context.Context) {
 	}()
 
 	eventStream, err = c.remote.EventService().Subscribe(ctx, &eventsapi.SubscribeRequest{
-		Filters: []string{"namespace==" + c.namespace + ",topic~=/tasks/.+"},
+		Filters: []string{
+			"namespace==" + c.namespace,
+			"topic~=/tasks/",
+		},
 	}, grpc.FailFast(false))
 	if err != nil {
 		return