Skip to content

Commit

Permalink
Remove unused config types
Browse files Browse the repository at this point in the history
  • Loading branch information
weltenwort committed Aug 29, 2023
1 parent 23d8879 commit 7cf2129
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 24 deletions.
7 changes: 1 addition & 6 deletions x-pack/plugins/log_explorer/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*/

import { CoreSetup, CoreStart, Plugin, PluginInitializerContext } from '@kbn/core/public';
import { LogExplorerConfig } from '../common/plugin_config';
import { createLogExplorer } from './components/log_explorer';
import {
LogExplorerPluginSetup,
Expand All @@ -16,11 +15,7 @@ import {
} from './types';

export class LogExplorerPlugin implements Plugin<LogExplorerPluginSetup, LogExplorerPluginStart> {
private config: LogExplorerConfig;

constructor(context: PluginInitializerContext<LogExplorerConfig>) {
this.config = context.config.get();
}
constructor(context: PluginInitializerContext) {}

public setup(core: CoreSetup, plugins: LogExplorerSetupDeps) {}

Expand Down
16 changes: 0 additions & 16 deletions x-pack/plugins/log_explorer/server/config.ts

This file was deleted.

2 changes: 0 additions & 2 deletions x-pack/plugins/log_explorer/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@

import { LogExplorerServerPlugin } from './plugin';

export { config } from './config';

export const plugin = () => new LogExplorerServerPlugin();

0 comments on commit 7cf2129

Please sign in to comment.