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
  • Loading branch information
MichaelKatsoulis committed Nov 3, 2021
1 parent 5bfabe3 commit d504254
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 d504254

Please sign in to comment.