Skip to content

Commit

Permalink
[ES] cluster_build_flavor may be undefined (#171112)
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo authored Nov 14, 2023
1 parent 4c3b56f commit da3833e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface ClusterInfo {
cluster_name: string;
cluster_uuid: string;
cluster_version: string;
cluster_build_flavor: string;
cluster_build_flavor?: string;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ export function registerAnalyticsContextProvider(
cluster_name: { type: 'keyword', _meta: { description: 'The Cluster Name' } },
cluster_uuid: { type: 'keyword', _meta: { description: 'The Cluster UUID' } },
cluster_version: { type: 'keyword', _meta: { description: 'The Cluster version' } },
cluster_build_flavor: { type: 'keyword', _meta: { description: 'The Cluster build flavor' } },
cluster_build_flavor: {
type: 'keyword',
_meta: { description: 'The Cluster build flavor', optional: true },
},
},
});
}

0 comments on commit da3833e

Please sign in to comment.