Skip to content

fix: don't panic when dumping nodes if we didn't capture cloud resources#18072

Merged
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
justinsb:avoid_npe_in_nil_cloud_dump
Mar 14, 2026
Merged

fix: don't panic when dumping nodes if we didn't capture cloud resources#18072
k8s-ci-robot merged 1 commit intokubernetes:masterfrom
justinsb:avoid_npe_in_nil_cloud_dump

Conversation

@justinsb
Copy link
Copy Markdown
Member

This is a debug path, but avoid panicking if we didn't capture cloud resources,
and continue with our fallback path.

This is a debug path, but avoid panicking if we didn't capture cloud resources,
and continue with our fallback path.
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Mar 14, 2026
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 14, 2026
@justinsb
Copy link
Copy Markdown
Member Author

We observed this in #18068

cc @serathius

I think it's because in our bare-metal tests we pass --cloud-resource=false to toolbox dump - fairly niche, but easy to fix.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 14, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 14, 2026
@k8s-ci-robot k8s-ci-robot merged commit 80f3199 into kubernetes:master Mar 14, 2026
26 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.36 milestone Mar 14, 2026
@justinsb justinsb mentioned this pull request Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants