fleetd #775: name the trigger flag for what it now reads
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:
@@ -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<>();
|
||||
|
||||
Reference in New Issue
Block a user