Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mgaido91 committed Jun 27, 2018
1 parent 43efe0f commit 0be2525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/ui/UIUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,6 @@ private[spark] object UIUtils extends Logging {
}

def buildErrorResponse(status: Response.Status, msg: String): Response = {
Response.status(Response.Status.FORBIDDEN).entity(msg).`type`(MediaType.TEXT_PLAIN).build()
Response.status(status).entity(msg).`type`(MediaType.TEXT_PLAIN).build()
}
}

0 comments on commit 0be2525

Please sign in to comment.