File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
x-pack/plugins/monitoring/server Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,8 @@ export class Plugin {
233233 legacyConfig ,
234234 core . getStartServices as ( ) => Promise < [ CoreStart , PluginsStart , { } ] > ,
235235 this . licenseService ,
236- this . cluster
236+ this . cluster ,
237+ plugins
237238 ) ;
238239
239240 this . registerPluginInUI ( plugins ) ;
@@ -313,7 +314,8 @@ export class Plugin {
313314 legacyConfig : any ,
314315 getCoreServices : ( ) => Promise < [ CoreStart , PluginsStart , { } ] > ,
315316 licenseService : MonitoringLicenseService ,
316- cluster : ILegacyCustomClusterClient
317+ cluster : ILegacyCustomClusterClient ,
318+ setupPlugins : PluginsSetup
317319 ) : MonitoringCore {
318320 const router = this . legacyShimDependencies . router ;
319321 const legacyConfigWrapper = ( ) => ( {
@@ -372,7 +374,7 @@ export class Plugin {
372374 config : legacyConfigWrapper ,
373375 newPlatform : {
374376 setup : {
375- plugins,
377+ plugins : setupPlugins ,
376378 } ,
377379 } ,
378380 plugins : {
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export interface LegacyRequest {
9191 } ;
9292 newPlatform : {
9393 setup : {
94- plugins : PluginsStart ;
94+ plugins : PluginsSetup ;
9595 } ;
9696 } ;
9797 plugins : {
You can’t perform that action at this time.
0 commit comments