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: check if the image was found #223

Merged
merged 2 commits into from
Aug 14, 2024
Merged

fix: check if the image was found #223

merged 2 commits into from
Aug 14, 2024

Conversation

jooola
Copy link
Member

@jooola jooola commented Aug 13, 2024

A nil check was missing before using the image object.

Closes #222

@jooola jooola requested a review from a team as a code owner August 13, 2024 15:53
@jooola jooola requested a review from apricote August 13, 2024 15:54
Copy link

codecov bot commented Aug 13, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 6 lines in your changes missing coverage. Please review.

Project coverage is 33.68%. Comparing base (73f10e4) to head (62cc65f).

Files Patch % Lines
builder/hcloud/step_create_server.go 33.33% 5 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #223      +/-   ##
==========================================
- Coverage   33.69%   33.68%   -0.01%     
==========================================
  Files          12       12              
  Lines         739      748       +9     
==========================================
+ Hits          249      252       +3     
- Misses        459      464       +5     
- Partials       31       32       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jooola jooola requested a review from apricote August 14, 2024 09:03
jooola added 2 commits August 14, 2024 11:04
A nil check was missing before using the image object.
@jooola jooola force-pushed the fix-image-nil-check branch from 5777884 to 62cc65f Compare August 14, 2024 09:04
@jooola jooola merged commit da3b49b into main Aug 14, 2024
10 checks passed
@jooola jooola deleted the fix-image-nil-check branch August 14, 2024 11:36
jooola pushed a commit that referenced this pull request Aug 14, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.6.0](v1.5.4...v1.6.0)
(2024-08-14)


### Features

* allow attaching firewalls to the server
([#221](#221))
([73f10e4](73f10e4))


### Bug Fixes

* check if the image was found
([#223](#223))
([da3b49b](da3b49b)),
closes
[#222](#222)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

Packer Crash when image cannot be found
2 participants