Skip to content

Commit 96031d0

Browse files
committed
Apply spotless
Signed-off-by: Brian Flores <[email protected]>
1 parent 83eaf5d commit 96031d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugin/src/main/java/org/opensearch/ml/action/undeploy/TransportUndeployModelsAction.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ private void bulkSetModelIndexToUndeploy(
231231
log.info("No nodes service: {}", Arrays.toString(modelIds));
232232

233233
try (ThreadContext.StoredContext threadContext = client.threadPool().getThreadContext().stashContext()) {
234-
ActionListener<MLUndeployModelsResponse> listenerWithContextRestoration = ActionListener.runBefore(listener, () -> threadContext.restore());
234+
ActionListener<MLUndeployModelsResponse> listenerWithContextRestoration = ActionListener
235+
.runBefore(listener, () -> threadContext.restore());
235236
ActionListener<BulkResponse> bulkResponseListener = ActionListener.wrap(br -> {
236237
log.debug("Successfully set modelIds to UNDEPLOY in index");
237238
listenerWithContextRestoration.onResponse(new MLUndeployModelsResponse(response));

0 commit comments

Comments
 (0)