Ensure we pass down the expiry_date for the license

This commit is contained in:
Chris Roberson 2018-07-27 10:03:49 -04:00
parent f82b9717c0
commit 2562395a78

View file

@ -26,7 +26,8 @@ export function getClustersSummary(clusters, kibanaUuid) {
const {
status: licenseStatus,
type: licenseType,
expiry_date_in_millis: licenseExpiry
expiry_date_in_millis: licenseExpiryInMs,
expiry_date: licenseExpiry
} = license;
const indices = pick(clusterStats.indices, ['count', 'docs', 'shards', 'store']);
@ -53,7 +54,8 @@ export function getClustersSummary(clusters, kibanaUuid) {
license: {
status: licenseStatus,
type: licenseType,
expiry_date_in_millis: licenseExpiry
expiry_date_in_millis: licenseExpiryInMs,
expiry_date: licenseExpiry
},
elasticsearch: {
cluster_stats: {