From d77e7421a2d4e5863dff9f688474e60c21eca705 Mon Sep 17 00:00:00 2001 From: Natan Yellin Date: Tue, 17 Aug 2021 13:49:24 +0300 Subject: [PATCH] fix subject for python profiler --- playbooks/pod_troubleshooting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/pod_troubleshooting.py b/playbooks/pod_troubleshooting.py index 1c3885697..2805bb3e5 100644 --- a/playbooks/pod_troubleshooting.py +++ b/playbooks/pod_troubleshooting.py @@ -29,7 +29,7 @@ def python_profiler(event: ManualTriggerEvent): subject=FindingSubject( pod.metadata.name, FindingSubjectType.TYPE_POD, - pod.spec.nodeName, + pod.metadata.namespace, ), )