fleetd #775: name the trigger flag for what it now reads
CI / shell-tests (push) Failing after 8s
CI / contract (push) Successful in 1m0s
CI / build (push) Failing after 1m57s

The flag tested leader.tab() and was named for it. It now tests whether
fleet.leaders has any entry at all, so the old name states a condition the
code no longer checks.
This commit is contained in:
Dai Ha
2026-10-05 14:21:19 +02:00
parent fc786d0f67
commit c043d149cf
@@ -2978,10 +2978,10 @@ public record FleetConfig(
if (fleet == null) {
return;
}
boolean anyLeaderHasTab = !fleet.leaders().isEmpty();
boolean anyLead = !fleet.leaders().isEmpty();
boolean anyCollaboratorHasTab = fleet.collaborators().values().stream()
.anyMatch(c -> c != null && c.tab() != null && !c.tab().isBlank());
if (!anyLeaderHasTab && !anyCollaboratorHasTab) {
if (!anyLead && !anyCollaboratorHasTab) {
return;
}
List<String> bad = new ArrayList<>();