mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[ML] Excludes metadata fields from jobs caps fields service response (#96548)
This commit is contained in:
parent
0316787ead
commit
75e4aeedbc
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class FieldsService {
|
|||
if (firstKey !== undefined) {
|
||||
const field = fc[firstKey];
|
||||
// add to the list of fields if the field type can be used by ML
|
||||
if (supportedTypes.includes(field.type) === true) {
|
||||
if (supportedTypes.includes(field.type) === true && field.metadata_field !== true) {
|
||||
fields.push({
|
||||
id: k,
|
||||
name: k,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue