From 44559b4362b0f5d99027d21f50b084594dbeba41 Mon Sep 17 00:00:00 2001 From: sherif Date: Wed, 29 Mar 2017 14:50:51 +0200 Subject: [PATCH] Override read() in StEsEndPoint. --- src/main/java/com/amihaiemil/charles/aws/StEsEndPoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/amihaiemil/charles/aws/StEsEndPoint.java b/src/main/java/com/amihaiemil/charles/aws/StEsEndPoint.java index 1fff72d..440e802 100644 --- a/src/main/java/com/amihaiemil/charles/aws/StEsEndPoint.java +++ b/src/main/java/com/amihaiemil/charles/aws/StEsEndPoint.java @@ -44,8 +44,8 @@ public StEsEndPoint(final String name) { @Override public String read() { String endPoint = super.read(); - if(!endPoint.endsWith("\\")) { - endPoint += "\\"; + if(!endPoint.endsWith("/")) { + endPoint += "/"; } return endPoint; }