mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
parent
a91bbb5300
commit
1e2a72a902
2 changed files with 4 additions and 4 deletions
|
@ -35,8 +35,8 @@ export function beats(kibana: any) {
|
|||
},
|
||||
config: () => config,
|
||||
configPrefix: CONFIG_PREFIX,
|
||||
init(server: KibanaLegacyServer) {
|
||||
initServerWithKibana(server);
|
||||
async init(server: KibanaLegacyServer) {
|
||||
await initServerWithKibana(server);
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
import { compose } from './lib/compose/kibana';
|
||||
import { initManagementServer } from './management_server';
|
||||
|
||||
export const initServerWithKibana = (hapiServer: any) => {
|
||||
export const initServerWithKibana = async (hapiServer: any) => {
|
||||
const libs = compose(hapiServer);
|
||||
initManagementServer(libs);
|
||||
await initManagementServer(libs);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue