Skip to content

boot-aws: Keep resources file consistent - #2761

Merged
supakeen merged 1 commit into
osbuild:mainfrom
larskarlitski:keep-resource-file-consistent
Oct 14, 2026
Merged

supakeen merged 1 commit into
osbuild:mainfrom
larskarlitski:keep-resource-file-consistent

Conversation

@larskarlitski

Copy link
Copy Markdown
Contributor

In particular, don't write resources that have been deleted already. This happened when boot-aws setup fails creating one of its resources: it cleaned up after itself, but still wrote resources into the resource file.

Set successfully deleted resources to nil to avoid this.

In particular, don't write resources that have been deleted already.
This happened when `boot-aws setup` fails creating one of its resources:
it cleaned up after itself, but still wrote resources into the resource
file.

Set successfully deleted resources to nil to avoid this.
@larskarlitski
larskarlitski requested a review from a team as a code owner October 13, 2026 18:00

@brlane-rht brlane-rht left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me

@supakeen
supakeen added this pull request to the merge queue Oct 14, 2026
Merged via the queue into osbuild:main with commit 22b8d19 Oct 14, 2026
64 of 66 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.

3 participants