Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Sep 24, 2024
1 parent b79c712 commit 1c1d58d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,7 @@ private[v1] class AdminResource extends ApiRequestContext with Logging {
val ipAddress = fe.getIpAddress
info(s"Received listing the server configs request from $userName/$ipAddress")
if (!fe.isAdministrator(userName)) {
throw new NotAllowedException(
s"$userName is not allowed to list the server configs")
throw new NotAllowedException(s"$userName is not allowed to list the server configs")
}
kyuubiServer.getConf.getAll.map(entry => new ConfigEntry(entry._1, entry._2)).toSeq
}
Expand Down

0 comments on commit 1c1d58d

Please sign in to comment.