1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration/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
..
cgroupdriver_systemd_test.go
disk_usage_test.go API,daemon: support type URL parameter to /system/df 2021-07-27 12:17:45 +02:00
event_test.go
info_linux_test.go integration(-cli): remove discovery related tests 2022-01-06 18:28:13 +01:00
info_test.go
login_test.go registry: add DefaultRegistryHost const, and improve documentation 2022-02-27 13:48:27 +01:00
main_test.go
ping_test.go API: add "Swarm" header to _ping endpoint 2022-03-25 23:54:14 +01:00
version_test.go