And implement it

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
This commit is contained in:
Mikolaj Pawlikowski
2021-03-12 13:31:39 +00:00
parent 5d2ad6ce19
commit ad828cf5a3

View File

@@ -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 {