treewide: Fix ENUM_VALUE_PREFIX rule exception
Change-Id: Ibc2fd66711f6aa347e88e2379c12db1898373700
Reviewed-on: https://review.monogon.dev/c/monogon/+/3804
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/metropolis/test/launch/cluster.go b/metropolis/test/launch/cluster.go
index 882f422..f1545c9 100644
--- a/metropolis/test/launch/cluster.go
+++ b/metropolis/test/launch/cluster.go
@@ -1166,7 +1166,7 @@
launch.Log("Cluster: node health: %+v", cs.Health)
lhb := time.Now().Add(-cs.TimeSinceHeartbeat.AsDuration())
- if lhb.After(start) && cs.Health == apb.Node_HEALTHY {
+ if lhb.After(start) && cs.Health == apb.Node_HEALTH_HEALTHY {
break
}
time.Sleep(time.Second)
@@ -1353,7 +1353,7 @@
var unhealthy []string
for _, node := range nodes {
- if node.Health == apb.Node_HEALTHY {
+ if node.Health == apb.Node_HEALTH_HEALTHY {
continue
}
unhealthy = append(unhealthy, node.Id)