Skip to content

Commit

Permalink
Correct ErrorServlet context prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Or committed Feb 11, 2015
1 parent 2d50a01 commit 16b15bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private[spark] class StandaloneRestServer(
new SubmitRequestServlet(masterActor, masterUrl, masterConf) -> s"$baseContext/create/*",
new KillRequestServlet(masterActor, masterConf) -> s"$baseContext/kill/*",
new StatusRequestServlet(masterActor, masterConf) -> s"$baseContext/status/*",
new ErrorServlet -> "/" // default handler
new ErrorServlet -> "/*" // default handler
)

/** Start the server and return the bound port. */
Expand Down

0 comments on commit 16b15bc

Please sign in to comment.