Skip to content

Commit 46363ef

Browse files
committed
Apply spotless
Signed-off-by: Brian Flores <[email protected]>
1 parent 6323086 commit 46363ef

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
@@ -208,7 +208,8 @@ private void bulkSetModelIndexToUndeploy(
208208
log.info("No nodes service: {}", Arrays.toString(modelIds));
209209

210210
try (ThreadContext.StoredContext threadContext = client.threadPool().getThreadContext().stashContext()) {
211-
ActionListener<MLUndeployModelsResponse> listenerWithContextRestoration = ActionListener.runBefore(listener, () -> threadContext.restore());
211+
ActionListener<MLUndeployModelsResponse> listenerWithContextRestoration = ActionListener
212+
.runBefore(listener, () -> threadContext.restore());
212213
ActionListener<BulkResponse> bulkResponseListener = ActionListener.wrap(br -> {
213214
log.debug("Successfully set modelIds to UNDEPLOY in index");
214215
listenerWithContextRestoration.onResponse(new MLUndeployModelsResponse(response));

0 commit comments

Comments
 (0)