From af6106f3ffb9dbbab2faef5d7dc0bc852da9917d Mon Sep 17 00:00:00 2001
From: Riyad Preukschas <riyad@informatik.uni-bremen.de>
Date: Wed, 25 Nov 2020 17:30:52 +0100
Subject: [PATCH] REST API v2 - ping - remove newline from response to improve
 Docker compatibility

Signed-off-by: Riyad Preukschas <riyad@informatik.uni-bremen.de>
---
 pkg/api/handlers/compat/ping.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pkg/api/handlers/compat/ping.go b/pkg/api/handlers/compat/ping.go
index 06150bb63c..64beb3c71e 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")
 }