Skip to content

Conversation

@Adityarai10101
Copy link

- What I did

We switched the /build/prune and /nodes/{id}/update endpoints to use the request body instead of query-args.

- How I did it

Based on the api version we either use a new implementation or the old implementations for these two endpoints on the client and server sides.

- How to verify it

We wrote tests in daemon/server/router/swarm/cluster_routes_test.go, daemon/server/router/build/build_routes_test.go, client/build_prune_test.go, and client/node_update_test.go to test the new endpoints.

- Human readable description for the release notes

Switch /build/prune and /nodes/{id}/update endpoints to use request body instead of query-args

- A picture of a cute animal (not mandatory but encouraged)

image

MaxFeldman1 and others added 7 commits December 14, 2025 22:58
Signed-off-by: Max Feldman <mackx@protonmail.com>
Signed-off-by: Max Feldman <mackx@protonmail.com>
Signed-off-by: Max Feldman <mackx@protonmail.com>
Signed-off-by: Max Feldman <mackx@protonmail.com>
Signed-off-by: Max Feldman <mackx@protonmail.com>
Signed-off-by: Max Feldman <mackx@protonmail.com>
Signed-off-by: Aditya Rai <adyrai05@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants