Skip to content

Commit

Permalink
Rename after code review
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet committed Jul 14, 2020
1 parent dcb769f commit ec5b11a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions x-pack/plugins/security_solution/public/app/home/setup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ export const Setup: React.FunctionComponent<{
});
};

ingestManager
.waitForInitialization()
.catch((error: Error) => displayToastWithModal(error.message));
ingestManager.isInitialized().catch((error: Error) => displayToastWithModal(error.message));
}, [ingestManager, notifications.toasts]);

return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const depsStartMock: () => DepsStartMock = () => {
return {
data: dataMock,
ingestManager: {
waitForInitialization: () => Promise.resolve(true),
isInitialized: () => Promise.resolve(true),
registerPackageConfigComponent,
},
};
Expand Down

0 comments on commit ec5b11a

Please sign in to comment.