We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8da4c6 commit 109d7b8Copy full SHA for 109d7b8
1 file changed
SingularityService/src/main/java/com/hubspot/singularity/hooks/LoadBalancerClient.java
@@ -96,14 +96,6 @@ public List<LoadBalancerUpstream> getUpstreamsForTasks(
96
);
97
98
for (SingularityTask task : tasks) {
99
- // Temp logging to debug FAILED_INTERNAL_STATE issue
100
- if (task == null || task.getMesosTask() == null) {
101
- LOG.warn(
102
- "Unable to get ports for task {}",
103
- task,
104
- new RuntimeException("For a stack trace")
105
- );
106
- }
107
final Optional<Long> maybeLoadBalancerPort = MesosUtils.getPortByIndex(
108
mesosProtosUtils.toResourceList(task.getMesosTask().getResources()),
109
task.getTaskRequest().getDeploy().getLoadBalancerPortIndex().orElse(0)
0 commit comments