Skip to content

Commit

Permalink
Fixup to remove uneeded 8.0 comment from GenerateK8s metadata (#28781)
Browse files Browse the repository at this point in the history
(cherry picked from commit d504254)
  • Loading branch information
MichaelKatsoulis authored and mergify-bot committed Nov 3, 2021
1 parent c41fc8d commit be0e0f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libbeat/common/kubernetes/metadata/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit be0e0f1

Please sign in to comment.