remove blocking backend check

- threw errors on expected and correctly handled behavior for nodeList queries
This commit is contained in:
Christoph Kluge
2026-01-23 17:41:21 +01:00
parent da2a78faa3
commit 49938bcef8
2 changed files with 54 additions and 3 deletions

View File

@@ -912,9 +912,6 @@ func buildNodeQueries(
scopes []schema.MetricScope,
resolution int64,
) ([]APIQuery, []schema.MetricScope, error) {
if len(nodes) == 0 {
return nil, nil, fmt.Errorf("METRICDATA/CCMS > no nodes specified for query")
}
queries := make([]APIQuery, 0, len(metrics)*len(scopes)*len(nodes))
assignedScope := []schema.MetricScope{}