REST API v2 - ping - fix typo in header

Signed-off-by: Riyad Preukschas <riyad@informatik.uni-bremen.de>
This commit is contained in:
Riyad Preukschas 2020-11-25 17:28:15 +01:00
parent 397e9a9f1b
commit 0ae1221a46
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -53,7 +53,7 @@ func (s *APIServer) registerPingHandlers(r *mux.Router) error {
// Max Podman API Version the server supports.
// Available if service is backed by Podman, therefore may be used to
// determine if talking to Podman engine or another engine
// Libpod-Buildha-Version:
// Libpod-Buildah-Version:
// type: string
// description: |
// Default version of libpod image builder.