summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2020-11-25 17:30:52 +0100
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2020-11-25 20:43:36 +0100
commitaf6106f3ffb9dbbab2faef5d7dc0bc852da9917d (patch)
treecd6618f8a01deaebb33e6e2b3c0aa26fcb797d4f /pkg
parent397e9a9f1b146617120690243a89fa9541f0854c (diff)
downloadpodman-af6106f3ffb9dbbab2faef5d7dc0bc852da9917d.tar.gz
podman-af6106f3ffb9dbbab2faef5d7dc0bc852da9917d.tar.bz2
podman-af6106f3ffb9dbbab2faef5d7dc0bc852da9917d.zip
REST API v2 - ping - remove newline from response to improve Docker compatibility
Signed-off-by: Riyad Preukschas <riyad@informatik.uni-bremen.de>
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")
}