Skip to content

feat: migrate section: kube_pod_conditions_v1 - #44

Open
racicLuka wants to merge 1 commit into
masterfrom
CMK-36255-pod-conditions
Open

feat: migrate section: kube_pod_conditions_v1#44
racicLuka wants to merge 1 commit into
masterfrom
CMK-36255-pod-conditions

Conversation

@racicLuka

Copy link
Copy Markdown
Contributor

CMK-36255

@racicLuka
racicLuka force-pushed the CMK-36255-pod-conditions branch from bd46434 to a4dfdb5 Compare August 19, 2026 10:54
@racicLuka
racicLuka requested a review from relrod August 19, 2026 11:00
@relrod

relrod commented Aug 20, 2026

Copy link
Copy Markdown
Member

@racicLuka Let me know if this is ready for review, I see you requested but it's still in draft.

@racicLuka
racicLuka marked this pull request as ready for review August 20, 2026 06:59
@racicLuka

Copy link
Copy Markdown
Contributor Author

You can review it and I will resolve the conflicts

Comment thread metrics-cache/src/section/pod.rs Outdated
@racicLuka
racicLuka force-pushed the CMK-36255-pod-conditions branch from a4dfdb5 to 57b4a45 Compare August 20, 2026 15:55
@racicLuka
racicLuka requested a review from relrod August 20, 2026 16:00

@relrod relrod left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One inline comment, otherwise lgtm.

if let Some(kube_start_time_v1) = KubeStartTimeV1::from_pod(self.api) {
out.push(WriteableSection::of(&me, &kube_start_time_v1));
}
if let Some(kube_pod_conditions_v1) = &self.conditions() {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's be consistent with the one above and just call KubePodConditionsV1::from_pod() directly here instead of having the intermediary step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants