Skip to content

Commit 070ca6e

Browse files
author
Max Hniebergall
committed
fix typo
1 parent 5e942f1 commit 070ca6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public void parseRequestConfig(
133133
Map<String, Object> config,
134134
ActionListener<Model> modelListener
135135
) {
136-
if (isDefaultId(DEFAULT_ELSER_ID)) {
136+
if (isDefaultId(inferenceEntityId)) {
137137
modelListener.onFailure(
138138
new ElasticsearchStatusException(
139139
"[{}] is a reserved inference Id. Cannot create a new inference endpoint with a reserved Id",

0 commit comments

Comments
 (0)