From 8bb3e952218526883d413bb96272941c1b35cfc7 Mon Sep 17 00:00:00 2001 From: Paul Schoenfelder Date: Tue, 8 Mar 2022 16:52:16 -0500 Subject: [PATCH] Cleanup --- .../com/hubspot/singularity/scheduler/SingularityScheduler.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityScheduler.java b/SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityScheduler.java index 9b9323c45d..2436dd452e 100644 --- a/SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityScheduler.java +++ b/SingularityService/src/main/java/com/hubspot/singularity/scheduler/SingularityScheduler.java @@ -218,8 +218,6 @@ public void checkForDecomissions() { agent.getId() ); - // TODO: Is there a guaranteed order these come out of ZK in to prevent sort? - // Probably nbd because this list will be very short, but still SingularityMachineStateHistoryUpdate stateHistoryUpdate = history .stream() .filter(update -> update.getState() == MachineState.STARTING_DECOMMISSION)