Skip to content
This repository has been 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
merged 1 commit into from
Apr 10, 2020

Conversation

LukasPaczos
Copy link
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 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
Contributor

This needs a unit test /cc @tmpsantos

@LukasPaczos
Copy link
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