Skip to content

Commit

Permalink
feat: rename mountManagementSection
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Aug 24, 2023
1 parent 371ab97 commit c90a209
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
* SPDX-License-Identifier: Apache-2.0
*/

export { mountManagementSection } from './mount_management_section';
export { mountDataSourcesManagementSection } from './mount_management_section';
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { EditDataSourceWithRouter } from '../components/edit_data_source';
import { PageWrapper } from '../components/page_wrapper';
import { reactRouterNavigate } from '../../../opensearch_dashboards_react/public';

export async function mountManagementSection(
export async function mountDataSourcesManagementSection(
getStartServices: StartServicesAccessor<DataSourceManagementStartDependencies>,
params: AppMountParameters
) {
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/data_source_management/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ export class DataSourceManagementPlugin
order: 1,
category: DEFAULT_APP_CATEGORIES.opensearchDashboards,
mount: async (params: AppMountParameters) => {
const { mountManagementSection } = await import('./management_app');
const { mountDataSourcesManagementSection } = await import('./management_app');

return mountManagementSection(
return mountDataSourcesManagementSection(
core.getStartServices as StartServicesAccessor<DataSourceManagementStartDependencies>,
params
);
Expand Down

0 comments on commit c90a209

Please sign in to comment.