summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/ping.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2020-12-04 16:13:58 -0700
committerJhon Honce <jhonce@redhat.com>2020-12-05 16:41:57 -0700
commit98c1b236240a5220118c7a6540440938258d8e07 (patch)
tree9491667edea0059339541d1c955c0e3ca5f5d912 /pkg/api/handlers/compat/ping.go
parent0c2a43b99db8a4fd75412a277da6de2731017d3e (diff)
downloadpodman-98c1b236240a5220118c7a6540440938258d8e07.tar.gz
podman-98c1b236240a5220118c7a6540440938258d8e07.tar.bz2
podman-98c1b236240a5220118c7a6540440938258d8e07.zip
Jira RUN-1106 System handlers updates
* Update tests to reflect system endpoints * First implementation of compat /system/df, only fields that are populated by libpod are set Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/api/handlers/compat/ping.go')
-rw-r--r--pkg/api/handlers/compat/ping.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/handlers/compat/ping.go b/pkg/api/handlers/compat/ping.go
index 9f6611b30..5513e902e 100644
--- a/pkg/api/handlers/compat/ping.go
+++ b/pkg/api/handlers/compat/ping.go
@@ -15,6 +15,7 @@ import (
func Ping(w http.ResponseWriter, r *http.Request) {
// Note API-Version and Libpod-API-Version are set in handler_api.go
w.Header().Set("BuildKit-Version", "")
+ w.Header().Set("Builder-Version", "")
w.Header().Set("Docker-Experimental", "true")
w.Header().Set("Cache-Control", "no-cache")
w.Header().Set("Pragma", "no-cache")