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

[Backport release-1.x] fix: creating firewall with rules not working correctly #414

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

phm07
Copy link
Contributor

@phm07 phm07 commented Apr 19, 2024

Backport 43b2bab from #412.

Because the Firewall API expects a different JSON formatting than it
responds with (some fields must be omitted even though they are included
in the response) we have to create another struct to marshal rules
properly.

This should be reverted once the Firewall API has consistent response
and request schemas.

See hetznercloud/cli#725

(cherry picked from commit 43b2bab)
@phm07 phm07 requested a review from a team as a code owner April 19, 2024 12:59
@phm07 phm07 merged commit 2a19325 into release-1.x Apr 19, 2024
2 of 3 checks passed
@phm07 phm07 deleted the backport-412-to-release-1.x branch April 19, 2024 13:04
phm07 pushed a commit that referenced this pull request Apr 19, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.54.1](v1.54.0...v1.54.1)
(2024-04-19)


### Bug Fixes

* creating firewall with rules not working correctly
([#414](#414))
([2a19325](2a19325))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

None yet

2 participants