Skip to content

Commit 109d7b8

Browse files
committed
Remove one section of logging
1 parent a8da4c6 commit 109d7b8

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

SingularityService/src/main/java/com/hubspot/singularity/hooks/LoadBalancerClient.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,6 @@ public List<LoadBalancerUpstream> getUpstreamsForTasks(
9696
);
9797

9898
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-
}
10799
final Optional<Long> maybeLoadBalancerPort = MesosUtils.getPortByIndex(
108100
mesosProtosUtils.toResourceList(task.getMesosTask().getResources()),
109101
task.getTaskRequest().getDeploy().getLoadBalancerPortIndex().orElse(0)

0 commit comments

Comments
 (0)