Skip to content

Commit

Permalink
legacyManagementAdapter => LegacyManagementAdapter
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed Dec 20, 2019
1 parent 360eb34 commit cf30a01
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/plugins/management/public/legacy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
* under the License.
*/

export { legacyManagementAdapter } from './sections_register';
export { LegacyManagementAdapter } from './sections_register';
export { LegacyManagementSection } from './section';
2 changes: 1 addition & 1 deletion src/plugins/management/public/legacy/sections_register.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import { LegacyManagementSection } from './section';
import { i18n } from '@kbn/i18n';

export class legacyManagementAdapter {
export class LegacyManagementAdapter {
main = undefined;
init = capabilities => {
this.main = new LegacyManagementSection(
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/management/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ import { ManagementSetup, ManagementStart } from './types';
import { ManagementService } from './management_service';
import { KibanaLegacySetup } from '../../kibana_legacy/public';
// @ts-ignore
import { legacyManagementAdapter } from './legacy';
import { LegacyManagementAdapter } from './legacy';

export class ManagementPlugin implements Plugin<ManagementSetup, ManagementStart> {
private managementSections = new ManagementService();
private legacyManagement = new legacyManagementAdapter();
private legacyManagement = new LegacyManagementAdapter();

public setup(core: CoreSetup, { kibana_legacy }: { kibana_legacy: KibanaLegacySetup }) {
return {
Expand Down

0 comments on commit cf30a01

Please sign in to comment.