File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
plugin/src/main/java/org/opensearch/ml/action/undeploy Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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 ));
You can’t perform that action at this time.
0 commit comments