summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat/ping.go
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2020-11-25 17:28:15 +0100
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2020-11-25 20:49:08 +0100
commit0ae1221a4616840d637fc605a28f8409dcdc2fab (patch)
tree26c27da4c3a5ff74b98497cd840dcfe346771589 /pkg/api/handlers/compat/ping.go
parent397e9a9f1b146617120690243a89fa9541f0854c (diff)
downloadpodman-0ae1221a4616840d637fc605a28f8409dcdc2fab.tar.gz
podman-0ae1221a4616840d637fc605a28f8409dcdc2fab.tar.bz2
podman-0ae1221a4616840d637fc605a28f8409dcdc2fab.zip
REST API v2 - ping - fix typo in header
Signed-off-by: Riyad Preukschas <riyad@informatik.uni-bremen.de>
Diffstat (limited to 'pkg/api/handlers/compat/ping.go')
-rw-r--r--pkg/api/handlers/compat/ping.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/ping.go b/pkg/api/handlers/compat/ping.go
index 06150bb63..5b6c38a2e 100644
--- a/pkg/api/handlers/compat/ping.go
+++ b/pkg/api/handlers/compat/ping.go
@@ -19,7 +19,7 @@ func Ping(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Cache-Control", "no-cache")
w.Header().Set("Pragma", "no-cache")
- w.Header().Set("Libpod-Buildha-Version", buildah.Version)
+ w.Header().Set("Libpod-Buildah-Version", buildah.Version)
w.WriteHeader(http.StatusOK)
if r.Method == http.MethodGet {