This commit is contained in:
Redkale
2020-05-27 15:01:36 +08:00
parent efeff3b720
commit 1c063b57ec

View File

@@ -357,6 +357,7 @@ public final class Application {
if (cluster != null) { if (cluster != null) {
cluster.setNodeid(this.nodeid); cluster.setNodeid(this.nodeid);
cluster.setTransportFactory(this.sncpTransportFactory); cluster.setTransportFactory(this.sncpTransportFactory);
this.resourceFactory.inject(cluster);
cluster.init(cluster.getConfig()); cluster.init(cluster.getConfig());
} }
this.clusterAgent = cluster; this.clusterAgent = cluster;