Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

When removing an image use the correct list ptr for presence verification - #16391

Merged
LukasPaczos merged 1 commit into
masterfrom
lp-fix-doubled-image-removal
Apr 10, 2020
Merged

LukasPaczos merged 1 commit into
masterfrom
lp-fix-doubled-image-removal

Conversation

@LukasPaczos

Copy link
Copy Markdown
Contributor

This fixes an issues where calling removeImage would crash if the image was not present and the original images list was not empty.

Launch Checklist

  • briefly describe the changes in this PR
  • apply needs changelog label if a changelog is needed (remove label when added)

@LukasPaczos LukasPaczos added the needs changelog Indicates PR needs a changelog entry prior to merging. label Apr 10, 2020
…tion

This fixes an issues where calling `removeImage` would crash if the image was not present and the original list was not empty.
@LukasPaczos
LukasPaczos force-pushed the lp-fix-doubled-image-removal branch from 6edd82a to 8609c4a Compare April 10, 2020 13:51
@LukasPaczos LukasPaczos removed the needs changelog Indicates PR needs a changelog entry prior to merging. label Apr 10, 2020
@LukasPaczos
LukasPaczos merged commit f79334c into master Apr 10, 2020
@LukasPaczos
LukasPaczos deleted the lp-fix-doubled-image-removal branch April 10, 2020 14:55
@springmeyer

Copy link
Copy Markdown
Contributor

This needs a unit test /cc @tmpsantos

@LukasPaczos

Copy link
Copy Markdown
Contributor Author

Adding the test in #16392.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants