Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
[APM] fix podLabels (#1521)
Browse files Browse the repository at this point in the history
* [APM] add podLabels

* format with black

Co-authored-by: jmlrt <8582351+jmlrt@users.noreply.github.com>
  • Loading branch information
ebuildy and jmlrt authored Feb 2, 2022
1 parent 8a49275 commit 5b4f789
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apm-server/tests/apmserver_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,9 @@ def test_adding_pod_labels():
"""
r = helm_template(config)
assert (
r["deployment"][name]["metadata"]["labels"]["app.kubernetes.io/name"]
r["deployment"][name]["spec"]["template"]["metadata"]["labels"][
"app.kubernetes.io/name"
]
== "apm-server"
)

Expand Down

0 comments on commit 5b4f789

Please sign in to comment.