moby/api/server/router/system
Sebastiaan van Stijn adf4bf772d
API: add "Swarm" header to _ping endpoint
This adds an additional "Swarm" header to the _ping endpoint response,
which allows a client to detect if Swarm is enabled on the daemon, without
having to call additional endpoints.

This change is not versioned in the API, and will be returned irregardless
of the API version that is used. Clients should fall back to using other
endpoints to get this information if the header is not present.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-25 23:54:14 +01:00
..
backend.go API: add "Swarm" header to _ping endpoint 2022-03-25 23:54:14 +01:00
system.go builder: remove legacy build's session handling 2019-10-02 20:29:15 +00:00
system_routes.go API: add "Swarm" header to _ping endpoint 2022-03-25 23:54:14 +01:00