Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bucket_storage): image deletion #764

Merged

Conversation

noaccOS
Copy link
Collaborator

@noaccOS noaccOS commented Dec 9, 2024

previously, calling Ash.destroy! on a base image would crash the program because Edgehog.BaseImages.Uploaders.BaseImage.filename/2 would try to access the field base_image_version of a BaseImage, which does not exist

@noaccOS noaccOS changed the base branch from main to release-0.9 December 9, 2024 13:23
@noaccOS noaccOS mentioned this pull request Dec 9, 2024
@coveralls
Copy link

coveralls commented Dec 9, 2024

Pull Request Test Coverage Report for Build 178a825f94ef3323a6e601faf29eeec76de0bbaa-PR-764

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.05%) to 80.512%

Files with Coverage Reduction New Missed Lines %
lib/edgehog/base_images/bucket_storage.ex 3 0.0%
Totals Coverage Status
Change from base Build 1537d425cf3b38f5e2afb3fef8b066420a156c65: -0.05%
Covered Lines: 1227
Relevant Lines: 1524

💛 - Coveralls

@davidebriani
Copy link
Collaborator

PR is fine. Could we add a line of change to CHANGELOG.md?
It would be a good addition for a new [0.9.3] - Unreleased section.

previously, calling Ash.destroy! on a base image would crash the program
because Edgehog.BaseImages.Uploaders.BaseImage.filename/2 would try to
access the field `base_image_version` of a BaseImage, which does not
exist

Signed-off-by: Francesco Noacco <[email protected]>
@davidebriani davidebriani merged commit 5517c6e into edgehog-device-manager:release-0.9 Dec 9, 2024
8 checks passed
@noaccOS noaccOS deleted the push-nuslyxmlmoou branch December 16, 2024 07:43
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.

4 participants