hetznercloud / packer-plugin-hcloud

Packer plugin for Hetzner Cloud Builder
https://developer.hashicorp.com/packer/integrations/hetznercloud/hcloud
Mozilla Public License 2.0
22 stars 21 forks source link

fix: do not pass nil error to error handler #145

Closed jooola closed 6 months ago

jooola commented 6 months ago

During the previous error handling refactor, we missed some parts where no error was generated, but still use it.

codecov[bot] commented 6 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (0bc73eb) 27.28% compared to head (8f4d9c9) 27.33%.

Files Patch % Lines
builder/hcloud/step_create_server.go 0.00% 2 Missing :warning:
builder/hcloud/step_pre_validate.go 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #145 +/- ## ========================================== + Coverage 27.28% 27.33% +0.04% ========================================== Files 11 11 Lines 612 611 -1 ========================================== Hits 167 167 + Misses 424 423 -1 Partials 21 21 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.