File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elastic Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 4444import org .elasticsearch .xpack .inference .services .SenderService ;
4545import org .elasticsearch .xpack .inference .services .ServiceComponents ;
4646import org .elasticsearch .xpack .inference .services .ServiceUtils ;
47- import org .elasticsearch .xpack .inference .services .elastic .auth .ElasticInferenceServiceAuthorizationHandler ;
4847import org .elasticsearch .xpack .inference .services .elastic .auth .ElasticInferenceServiceAuthorization ;
48+ import org .elasticsearch .xpack .inference .services .elastic .auth .ElasticInferenceServiceAuthorizationHandler ;
4949import org .elasticsearch .xpack .inference .services .elastic .completion .ElasticInferenceServiceCompletionModel ;
5050import org .elasticsearch .xpack .inference .services .settings .RateLimitSettings ;
5151import org .elasticsearch .xpack .inference .telemetry .TraceContext ;
@@ -120,12 +120,9 @@ public ElasticInferenceService(
120120
121121 private void getAuth () {
122122 try {
123- ActionListener <ElasticInferenceServiceAuthorization > listener = ActionListener .wrap (
124- this ::setEnabledTaskTypes ,
125- e -> {
126- // we don't need to do anything if there was a failure, everything is disabled by default
127- }
128- );
123+ ActionListener <ElasticInferenceServiceAuthorization > listener = ActionListener .wrap (this ::setEnabledTaskTypes , e -> {
124+ // we don't need to do anything if there was a failure, everything is disabled by default
125+ });
129126
130127 var auth = new ElasticInferenceServiceAuthorizationHandler (
131128 elasticInferenceServiceComponents .elasticInferenceServiceUrl (),
You can’t perform that action at this time.
0 commit comments