Skip to content

Commit

Permalink
[APM] Fix missing _debug validator (elastic#19639)
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenlouv authored Jun 3, 2018
1 parent 5da80f1 commit a8fc3fc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions x-pack/plugins/apm/server/routes/status_check.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ export function initStatusApi(server) {
config: {
pre,
validate: {
query: Joi.object().keys({})
query: Joi.object().keys({
_debug: Joi.bool()
})
}
},
handler: (req, reply) => {
Expand All @@ -41,7 +43,9 @@ export function initStatusApi(server) {
config: {
pre,
validate: {
query: Joi.object().keys({})
query: Joi.object().keys({
_debug: Joi.bool()
})
}
},
handler: (req, reply) => {
Expand Down

0 comments on commit a8fc3fc

Please sign in to comment.