mirror of
https://github.com/containers/podman.git
synced 2025-06-10 01:31:58 +08:00
REST API v2 - ping - remove newline from response to improve Docker compatibility
Signed-off-by: Riyad Preukschas <riyad@informatik.uni-bremen.de>
This commit is contained in:
@ -25,5 +25,4 @@ func Ping(w http.ResponseWriter, r *http.Request) {
|
|||||||
if r.Method == http.MethodGet {
|
if r.Method == http.MethodGet {
|
||||||
fmt.Fprint(w, "OK")
|
fmt.Fprint(w, "OK")
|
||||||
}
|
}
|
||||||
fmt.Fprint(w, "\n")
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user