From be0e0f1348493edc1fe0a78cb6efa28b9bd44791 Mon Sep 17 00:00:00 2001 From: Michael Katsoulis Date: Wed, 3 Nov 2021 14:33:50 +0200 Subject: [PATCH] Fixup to remove uneeded 8.0 comment from GenerateK8s metadata (#28781) (cherry picked from commit d5042546adf9795b953287f91b9a1709fcf395a7) --- libbeat/common/kubernetes/metadata/pod.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/libbeat/common/kubernetes/metadata/pod.go b/libbeat/common/kubernetes/metadata/pod.go index 66138f06d9f..e79054603f0 100644 --- a/libbeat/common/kubernetes/metadata/pod.go +++ b/libbeat/common/kubernetes/metadata/pod.go @@ -106,8 +106,6 @@ func (p *pod) GenerateK8s(obj kubernetes.Resource, opts ...FieldOptions) common. if p.namespace != nil { meta := p.namespace.GenerateFromName(po.GetNamespace()) if meta != nil { - // Use this in 8.0 - //out.Put("namespace", meta["namespace"]) out.DeepUpdate(meta) } }