server/src/main/java/org/elasticsearch/health/node/DiskHealthIndicatorService.java
these(affectedIndices.size()),
                                indices(affectedIndices.size())
                            ),
                            "Enable autoscaling (if applicable), add disk capacity or free up disk space to resolve "
                                + "this. If you have already taken action please wait for the rebalancing to complete.",
                            "https://ela.st/fix-data-disk"
                        ),
                        affectedResources
                    )
                );
            }
            if (masterNodes.containsKey(HealthStatus.RED)) {
                diagnosisList.add(createNonDataNodeDiagnosis(HealthStatus.RED, masterNodes.get(HealthStatus.RED), true));
            }
            if (masterNodes.containsKey(HealthStatus.YELLOW)) {
                diagnosisList.add(createNonDataNodeDiagnosis(HealthStatus.YELLOW, masterNodes.get(HealthStatus.YELLOW), true));
            }
            if (otherNodes.containsKey(HealthStatus.RED)) {
                diagnosisList.add(createNonDataNodeDiagnosis(HealthStatus.RED, otherNodes.get(HealthStatus.RED), false));
            }
            if (otherNodes.containsKey(HealthStatus.YELLOW)) {
                diagnosisList.add(createNonDataNodeDiagnosis(HealthStatus.YELLOW, otherNodes.get(HealthStatus.YELLOW), false));
            }
            return diagnosisList;
        }
        HealthIndicatorDetails getDetails(boolean explain) {
            if (explain == false) {
                return HealthIndicatorDetails.EMPTY;
            }
            return details;