lib/network/modules/components/nodes/Cluster.js
Function _openChildCluster
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_openChildCluster(childClusterId) {
let childCluster = this.body.nodes[childClusterId];
if (this.containedNodes[childClusterId] === undefined) {
throw new Error('node with id: ' + childClusterId + ' not in current cluster');
}