diff --git a/pkg/goldpinger/client.go b/pkg/goldpinger/client.go index 0595cbd..444f33f 100644 --- a/pkg/goldpinger/client.go +++ b/pkg/goldpinger/client.go @@ -82,6 +82,8 @@ func CheckCluster(ctx context.Context) *models.ClusterHealthResults { } sort.Strings(expectedNodes) } + // count the nodes reported by the instance + response.NodesTotal++ } // 2. check that all nodes report the same peers if len(checkAll.Responses) < 1 {