mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
parent
0058016c65
commit
45b8aa15b7
1 changed files with 2 additions and 0 deletions
|
@ -98,9 +98,11 @@ export async function loadAction({
|
|||
// If we affected the Kibana index, we need to ensure it's migrated...
|
||||
if (Object.keys(result).some((k) => k.startsWith('.kibana'))) {
|
||||
await migrateKibanaIndex({ client, kbnClient });
|
||||
log.debug('[%s] Migrated Kibana index after loading Kibana data', name);
|
||||
|
||||
if (kibanaPluginIds.includes('spaces')) {
|
||||
await createDefaultSpace({ client, index: '.kibana' });
|
||||
log.debug('[%s] Ensured that default space exists in .kibana', name);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue