mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Try to fix v2 migrations for pre-release builds
This commit is contained in:
parent
aba78bdb0f
commit
a1a1567501
1 changed files with 3 additions and 1 deletions
|
@ -1691,7 +1691,9 @@ export class SavedObjectsRepository {
|
|||
// want to always use the type registry to resolve a type's index
|
||||
// (including the default index).
|
||||
if (this._migrator.savedObjectsConfig.enableV2) {
|
||||
return `${this._registry.getIndex(type) || this._index}_${this._migrator.kibanaVersion}`;
|
||||
return `${
|
||||
this._registry.getIndex(type) || this._index
|
||||
}_${this._migrator.kibanaVersion.toLowerCase()}`;
|
||||
} else {
|
||||
return this._registry.getIndex(type) || this._index;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue