From 05c4caef95d1351d20a7766bd9ac8b0bace26c92 Mon Sep 17 00:00:00 2001 From: aiordache Date: Mon, 22 Feb 2021 10:36:05 +0100 Subject: [PATCH] Kube: Fix logs filter Signed-off-by: aiordache --- kube/client/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kube/client/client.go b/kube/client/client.go index d9378bea4..3f1477c92 100644 --- a/kube/client/client.go +++ b/kube/client/client.go @@ -96,6 +96,7 @@ func (kc *KubeClient) GetLogs(ctx context.Context, projectName string, consumer for _, pod := range pods.Items { request := kc.client.CoreV1().Pods(kc.namespace).GetLogs(pod.Name, &corev1.PodLogOptions{Follow: follow}) service := pod.Labels[compose.ServiceTag] + w := utils.GetWriter(pod.Name, service, string(pod.UID), func(event compose.ContainerEvent) { consumer.Log(event.Name, event.Service, event.Source, event.Line) })