mirror of https://github.com/calzoneman/sync.git
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…
Reference in New Issue