summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/compat
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-26 16:41:53 +0100
committerGitHub <noreply@github.com>2020-11-26 16:41:53 +0100
commitad2439264d401af0443be564ccc68169a8517db4 (patch)
tree98ea75a79a2adadf90b9d864b54ff5b23433dde2 /pkg/api/handlers/compat
parent201b0acd0295ac026acc52b0806e8a0af91acd85 (diff)
parent0ae1221a4616840d637fc605a28f8409dcdc2fab (diff)
downloadpodman-ad2439264d401af0443be564ccc68169a8517db4.tar.gz
podman-ad2439264d401af0443be564ccc68169a8517db4.tar.bz2
podman-ad2439264d401af0443be564ccc68169a8517db4.zip
Merge pull request #8487 from riyad/fix-ping-typo
REST API v2 - ping - fix typo in header
Diffstat (limited to 'pkg/api/handlers/compat')
-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 64beb3c71..9f6611b30 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 {