Skip to content

fix(instances): handle runtime Remove errors in Delete method #6

Merged
feloy merged 2 commits intopodman-runtime-branchfrom
podman-runtime-doc
Mar 20, 2026
Merged

fix(instances): handle runtime Remove errors in Delete method #6
feloy merged 2 commits intopodman-runtime-branchfrom
podman-runtime-doc

Conversation

@feloy
Copy link
Owner

@feloy feloy commented Mar 20, 2026

The Delete method was ignoring errors from runtime.Remove(), which could leave the runtime instance intact while removing the manager's record, causing inconsistent state. Now Delete properly returns errors if runtime removal fails, preventing partial deletions.

feloy and others added 2 commits March 20, 2026 07:02
The Delete method was ignoring errors from runtime.Remove(), which
could leave the runtime instance intact while removing the manager's
record, causing inconsistent state. Now Delete properly returns errors
if runtime removal fails, preventing partial deletions.

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Philippe Martin <phmartin@redhat.com>
Signed-off-by: Philippe Martin <phmartin@redhat.com>
@feloy feloy force-pushed the podman-runtime-doc branch from 1f0453f to e4c3492 Compare March 20, 2026 07:14
@feloy feloy merged commit d4625e7 into podman-runtime-branch Mar 20, 2026
3 checks passed
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.

1 participant