From 4813c5062c1e7077d6e373ac822efadc525927be Mon Sep 17 00:00:00 2001 From: Kiran Prakash Date: Mon, 13 May 2024 14:40:43 -0700 Subject: [PATCH] Update DefaultSandboxPruner.java --- .../org/opensearch/search/sandboxing/DefaultSandboxPruner.java | 1 - 1 file changed, 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/search/sandboxing/DefaultSandboxPruner.java b/server/src/main/java/org/opensearch/search/sandboxing/DefaultSandboxPruner.java index cd70d392d41fd..2997043546c2c 100644 --- a/server/src/main/java/org/opensearch/search/sandboxing/DefaultSandboxPruner.java +++ b/server/src/main/java/org/opensearch/search/sandboxing/DefaultSandboxPruner.java @@ -38,7 +38,6 @@ public void deleteSandbox(String sandboxName) { } private boolean hasUnfinishedTasks(String sandboxName) { - // Placeholder return !taskData.getTasksBySandbox().get(sandboxName).isEmpty(); }