Skip to content

Commit 6f9e85f

Browse files
committed
confusing names
1 parent c0bd646 commit 6f9e85f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

robusta_krr/core/integrations/kubernetes/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -677,12 +677,12 @@ async def _list_all_groupedjobs(self) -> list[K8sObjectData]:
677677
template_job = grouped_jobs_template[group_name]
678678

679679
# Group lightweight jobs by namespace
680-
lightweight_jobs_by_namespace = defaultdict(list)
680+
jobs_by_namespace = defaultdict(list)
681681
for lightweight_job in lightweight_jobs:
682-
lightweight_jobs_by_namespace[lightweight_job.namespace].append(lightweight_job)
682+
jobs_by_namespace[lightweight_job.namespace].append(lightweight_job)
683683

684-
for namespace, namespace_lightweight_jobs in lightweight_jobs_by_namespace.items():
685-
limited_lightweight_jobs = namespace_lightweight_jobs[:settings.job_grouping_limit]
684+
for namespace, namespace_jobs in jobs_by_namespace.items():
685+
limited_lightweight_jobs = namespace_jobs[:settings.job_grouping_limit]
686686

687687
container_names = set()
688688
for container in template_job.spec.template.spec.containers:

0 commit comments

Comments
 (0)