mirror of
https://github.com/calzoneman/sync.git
synced 2024-09-13 04:32:09 +00:00
Fix
This commit is contained in:
parent
cada5f0b0a
commit
39e3978161
@ -1,12 +1,22 @@
|
||||
import NullClusterClient from './io/cluster/nullclusterclient';
|
||||
import Config from './config';
|
||||
import IOConfiguration from './configuration/ioconfig';
|
||||
|
||||
class LegacyModule {
|
||||
getIOConfig() {
|
||||
if (!this.ioConfig) {
|
||||
this.ioConfig = IOConfiguration.fromOldConfig(Config);
|
||||
}
|
||||
|
||||
return this.ioConfig;
|
||||
}
|
||||
|
||||
getClusterClient() {
|
||||
return new NullClusterClient();
|
||||
return new NullClusterClient(this.getIOConfig());
|
||||
}
|
||||
|
||||
onReady() {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user