summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-26 16:40:11 +0100
committerGitHub <noreply@github.com>2020-11-26 16:40:11 +0100
commit201b0acd0295ac026acc52b0806e8a0af91acd85 (patch)
tree402e37379b7087935444667f2661c68a91832b41 /pkg
parent5af0266847fa304a25e038e1cf7fe1e3f4143f65 (diff)
parentaf6106f3ffb9dbbab2faef5d7dc0bc852da9917d (diff)
downloadpodman-201b0acd0295ac026acc52b0806e8a0af91acd85.tar.gz
podman-201b0acd0295ac026acc52b0806e8a0af91acd85.tar.bz2
podman-201b0acd0295ac026acc52b0806e8a0af91acd85.zip
Merge pull request #8486 from riyad/improve-ping-api-compat
REST API v2 - ping - remove newline from response to improve Docker compatibility
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/handlers/compat/ping.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/ping.go b/pkg/api/handlers/compat/ping.go
index 06150bb63..64beb3c71 100644
--- a/pkg/api/handlers/compat/ping.go
+++ b/pkg/api/handlers/compat/ping.go
@@ -25,5 +25,4 @@ func Ping(w http.ResponseWriter, r *http.Request) {
if r.Method == http.MethodGet {
fmt.Fprint(w, "OK")
}
- fmt.Fprint(w, "\n")
}