fix: populate network settings in container inspect when network stat… #29866
All Vouch review confidence checks passed
Residual risk 0.04 = Change Risk (0.35) × (1 − Review Confidence (0.89)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 41 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.89 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.224
Real PR Conversation Timeline
4 items
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Changes Requested
We have been getting a lot of low quality PRs that do not follow our contribution guidelines and LLM policy. So please follow them, i.e. commit should be singed also commit messages should contain a reference to fixed issue if any exists, etc.
@Maniii97 Any updates on this? Also, please rebase on upstream main.
Honny1
Maniii97
When inspecting a container running in rootless mode with pasta networking (or any setup where c.getNetworkStatus() returns empty), getContainerNetworkInfo() would return early (if len(netStatus) == 0 { return settings, nil }).
Because of this early return, user-defined networks attached to the container were never populated into NetworkSettings.Networks. This caused compatibility endpoints (GET /containers/{id}/json) and CLI inspect to report empty or missing network configurations for user-defined networks.
Fixes: https://github.com/containers/podman/issues/29862
<!-- Thanks for sending a pull request! -->
Checklist
Ensure you have completed the following checklist for your pull request to be reviewed:
<!-- Use [x] to mark as done, or click the checkbox after opening PR -->
commits. (
git commit -s). (If needed, usegit commit -s --amend). The author email must matchthe sign-off email address. See CONTRIBUTING.md
for more information.
Fixes: #00000in commit message (if applicable)make validatepr(format/lint checks)Noneif no user-facing changes)Does this PR introduce a user-facing change?
<!--
Write
Noneif there are no user-facing changes, otherwise enter your release note below.Include "action required" if users need to take action when upgrading.
-->
``
release-note``