Skip to content

Commit b9e78e6

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent ee66c48 commit b9e78e6

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/services/elastic/ElasticInferenceService.java

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
import org.elasticsearch.xpack.inference.services.SenderService;
4545
import org.elasticsearch.xpack.inference.services.ServiceComponents;
4646
import org.elasticsearch.xpack.inference.services.ServiceUtils;
47-
import org.elasticsearch.xpack.inference.services.elastic.auth.ElasticInferenceServiceAuthorizationHandler;
4847
import org.elasticsearch.xpack.inference.services.elastic.auth.ElasticInferenceServiceAuthorization;
48+
import org.elasticsearch.xpack.inference.services.elastic.auth.ElasticInferenceServiceAuthorizationHandler;
4949
import org.elasticsearch.xpack.inference.services.elastic.completion.ElasticInferenceServiceCompletionModel;
5050
import org.elasticsearch.xpack.inference.services.settings.RateLimitSettings;
5151
import 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(),

0 commit comments

Comments
 (0)