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 @@ -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 ));
You can’t perform that action at this time.
0 commit comments