Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0013c7b

Browse files
Avi-Robustapavangudiwada
authored andcommitted
fixing wrong functions (#1006)
1 parente83b5db commit0013c7b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎playbooks/robusta_playbooks/event_enrichments.py‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,9 @@ def resource_events_diff(event: KubernetesAnyChangeEvent):
265265
container_info= [ContainerInfo.get_container_info_k8(container)forcontainerin
266266
containers]ifcontainerselse []
267267
volumes_info= [VolumeInfo.get_volume_info(volume)forvolumeinvolumes]ifvolumeselse []
268-
config=ServiceConfig(labels=meta.labelsor {},containers=container_info,
269-
volumes=volumes_info)
270-
ready_pods=extract_total_pods(new_resource)
271-
total_pods=extract_ready_pods(new_resource)
268+
config=ServiceConfig(labels=meta.labelsor {},containers=container_info,volumes=volumes_info)
269+
ready_pods=extract_ready_pods(new_resource)
270+
total_pods=extract_total_pods(new_resource)
272271

273272
is_helm_release=is_release_managed_by_helm(annotations=new_resource.metadata.annotations,
274273
labels=new_resource.metadata.labels)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp