fdeantoni commented on a change in pull request #188: LIVY-615: Set context 
path using property SERVER_BASE_PATH.
URL: https://github.com/apache/incubator-livy/pull/188#discussion_r309976585
 
 

 ##########
 File path: server/src/main/scala/org/apache/livy/server/LivyServer.scala
 ##########
 @@ -67,7 +67,9 @@ class LivyServer extends Logging {
 
     val host = livyConf.get(SERVER_HOST)
     val port = livyConf.getInt(SERVER_PORT)
-    val basePath = livyConf.get(SERVER_BASE_PATH)
+    val basePath = livyConf.get(SERVER_BASE_PATH).stripSuffix("/")
 
 Review comment:
   Alright, I will remove it from the template and set the default to empty 
string. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to