This commit is contained in:
Markus Schulte
2017-06-20 16:23:02 +02:00
parent 7ceb900c37
commit 2de4e9fc73
5 changed files with 21 additions and 22 deletions
-1
View File
@@ -235,7 +235,6 @@ func ServerClosed(appName string) {
Logger.WithFields(fields).Infof("http server was closed: %v", appName)
}
func getRemoteIp(r *http.Request) string {
if r.Header.Get("X-Cluster-Client-Ip") != "" {
return r.Header.Get("X-Cluster-Client-Ip")