module -> class
This commit is contained in:
1 parent
ae40cb8a54
commit
7bf96f6194
6 files changed
+110
-129
No files matched your search
@@ -41,6 +41,7 @@ class MongoDB {
|
||||
maintenanceWindowModule,
|
||||
monitorModule,
|
||||
networkCheckModule,
|
||||
notificationModule,
|
||||
}) {
|
||||
this.logger = logger;
|
||||
this.envSettings = envSettings;
|
||||
@@ -53,7 +54,7 @@ class MongoDB {
|
||||
this.checkModule = checkModule;
|
||||
this.maintenanceWindowModule = maintenanceWindowModule;
|
||||
this.monitorModule = monitorModule;
|
||||
Object.assign(this, notificationModule);
|
||||
this.notificationModule = notificationModule;
|
||||
Object.assign(this, settingsModule);
|
||||
this.statusPageModule = statusPageModule;
|
||||
Object.assign(this, diagnosticModule);
|
||||
|
||||
Reference in new issue
Block a user