mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* Revert "[DOCS]: Release notes, release highlights, and breaking changes for 6.4 (#22015)" This reverts commit0c820163f0
. * Revert "fixing issue with importing vis with missing saved search (#22029) (#22076)" This reverts commit4401b02365
.
This commit is contained in:
parent
98129c10aa
commit
7735bfcd04
1 changed files with 3 additions and 6 deletions
|
@ -217,12 +217,9 @@ export async function resolveSavedObjects(
|
|||
if (await importDocument(obj, otherDoc, overwriteAll)) {
|
||||
importedObjectCount++;
|
||||
}
|
||||
} catch (error) {
|
||||
if (error instanceof SavedObjectNotFound) {
|
||||
if (error.savedObjectType === 'search') {
|
||||
failedImports.push({ obj, error });
|
||||
}
|
||||
if (error.savedObjectType === 'index-pattern') {
|
||||
} catch (err) {
|
||||
if (err instanceof SavedObjectNotFound) {
|
||||
if (err.savedObjectType === 'index-pattern') {
|
||||
if (obj.savedSearchId) {
|
||||
conflictedSavedObjectsLinkedToSavedSearches.push(obj);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue