-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add cGroupOverrides to the legacy config #77180
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -144,6 +144,7 @@ export default () => | |||||
|
||||||
ops: Joi.object({ | ||||||
interval: Joi.number().default(5000), | ||||||
cGroupOverrides: HANDLED_IN_NEW_PLATFORM, | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can probably remove old the schema up on lines 52-66 now? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right. I had to add the explicit definition in kibana/src/legacy/server/status/lib/metrics.js Lines 119 to 120 in c528f24
is throwing error when trying to access the property if the schema is undefined (which make sense, |
||||||
}).default(), | ||||||
|
||||||
plugins: Joi.object({ | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the new ones, but also kept the deprecated name to avoid a breaking change