Skip to content

fix: invalid placement group id casting #501

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

Merged
merged 1 commit into from
Jun 3, 2025
Merged

fix: invalid placement group id casting #501

merged 1 commit into from
Jun 3, 2025

Conversation

jooola
Copy link
Member

@jooola jooola commented Jun 2, 2025

The placement group id should be an integer.

See https://docs.hetzner.cloud/#server-actions-add-a-server-to-a-placement-group

@jooola jooola requested a review from apricote June 2, 2025 17:10
@jooola jooola force-pushed the placement-group branch from 39763ed to 6de86ef Compare June 2, 2025 17:20
@jooola jooola force-pushed the placement-group branch from 6de86ef to ab34ac5 Compare June 2, 2025 17:21
Copy link

codecov bot commented Jun 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.94%. Comparing base (198f549) to head (ab34ac5).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #501   +/-   ##
=======================================
  Coverage   92.94%   92.94%           
=======================================
  Files          64       64           
  Lines        3020     3020           
=======================================
  Hits         2807     2807           
  Misses        213      213           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jooola jooola merged commit 1bd5e98 into main Jun 3, 2025
10 checks passed
@jooola jooola deleted the placement-group branch June 3, 2025 08:51
jooola pushed a commit that referenced this pull request Jun 10, 2025
<!-- section-start changelog -->
### Bug Fixes

- invalid placement group id casting (#501)
- handle string id when checking has_id_or_name (#504)

<!-- section-end changelog -->

---

<details>
<summary><h4>PR by <a
href="https://github.com/apricote/releaser-pleaser">releaser-pleaser</a>
🤖</h4></summary>

If you want to modify the proposed release, add you overrides here. You
can learn more about the options in the docs.

## Release Notes

### Prefix / Start

This will be added to the start of the release notes.

```rp-prefix
```

### Suffix / End

This will be added to the end of the release notes.

```rp-suffix
```

</details>

Co-authored-by: releaser-pleaser <>
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.

2 participants