diff options
author | Søren Louv-Jansen <sorenlouv@gmail.com> | 2018-06-03 22:43:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-03 22:43:29 +0200 |
commit | a8fc3fc94af6553c5cf10eec66a9beff51928148 (patch) | |
tree | 21c6a5d1fc5ad3fbe1e4081269b1236a369e2899 | |
parent | 5da80f12e32f969de56f9b121b3d827847663cbe (diff) |
[APM] Fix missing _debug validator (#19639)
-rw-r--r-- | x-pack/plugins/apm/server/routes/status_check.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/x-pack/plugins/apm/server/routes/status_check.js b/x-pack/plugins/apm/server/routes/status_check.js index e710499de..700fb51fc 100644 --- a/x-pack/plugins/apm/server/routes/status_check.js +++ b/x-pack/plugins/apm/server/routes/status_check.js @@ -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) => { @@ -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) => { |