Comments (4)
By bisecting I found out that is is broken since commit 59d73f4, which bumped us to hcloud-go v2.5.0. Further bisecting hcloud-go
it looks like this commit is at the root of it: hetznercloud/hcloud-go@6feda4d. This makes sense, we overhauled the way we convert our public Go Types and the API Schema types.
Will take a look into fixing this.
from cli.
I can reproduce this. Looks like we now sent (broken) empty options in the request.
Request from CLI 1.36.0:
--- Request:
POST /v1/load_balancers/1710364/actions/update_service HTTP/1.1
Host: api.hetzner.cloud
User-Agent: hcloud-cli/unknown hcloud-go/1.47.0
Content-Length: 80
Authorization: REDACTED
Content-Type: application/json
Accept-Encoding: gzip
{"listen_port":443,"destination_port":8080,"http":{},"health_check":{"http":{}}}
--- Response:
HTTP/2.0 201 Created
Request from CLI v1.42.0:
--- Request:
POST /v1/load_balancers/1710364/actions/update_service HTTP/1.1
Host: api.hetzner.cloud
User-Agent: hcloud-cli/1.42.0-dev hcloud-go/2.6.0
Content-Length: 118
Authorization: REDACTED
Content-Type: application/json
Accept-Encoding: gzip
{"listen_port":443,"destination_port":8080,"http":{"certificates":null},"health_check":{"http":{"status_codes":null}}}
--- Response:
HTTP/2.0 422 Unprocessable Entity
from cli.
Related Issues (20)
- feat: Interactive mode for creating resources HOT 1
- ci: update version number string with release please HOT 1
- fix: integer fields are displayed as floats when using `describe` with `o=yaml` HOT 1
- fix: Allow multiple --type flags for metrics commands HOT 1
- New Feature: Unassign/Assign alias IP to server HOT 2
- json output format should NOT output progress HOT 11
- Feature request: define ssh-keys when rebuild a server HOT 2
- Allow adding/removing multiple labels at once
- Introspection: Print associated project HOT 3
- rdns settings not propagated if set using hcloud-cli HOT 1
- mitchellh/gon is unmaintained, consider moving to bearer/gon HOT 2
- FR: move snapshots HOT 1
- Make firewall describe JSON output compatible with firewall create or replace-rules rules-file expected input HOT 1
- firewall --rules-file does not accept firewall/get output HOT 2
- Introduce delete subcommand to `hcloud all` HOT 3
- Add the project name to the hcloud cmd "all" HOT 2
- Improve error message when required argument is not set HOT 2
- Primary IP assignee ID is null in API response but 0 in JSON output HOT 1
- Improve commands help messages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.