src/swarm-utils.js
Function findClusters
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function findClusters(serverInfo) {
const usedNodeIds = [];
const clusters = currentManagers(serverInfo).reduce((result, manager) => {
const {
swarm,
Function showClusters
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function showClusters(clusters, nodeIds) {
console.log('');
console.log('=> List of Swarm Clusters:');
Object.keys(clusters).forEach(clusterId => {
TODO found Open
Open
// TODO: handle nodes that aren't listed in the config.server
- Exclude checks