Skip to content

Commit 2330e3e

Browse files
committed
Resolve TODO
1 parent 2e479a9 commit 2330e3e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/action/filter/ShardBulkInferenceActionFilter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -548,8 +548,7 @@ private long addFieldInferenceRequests(BulkItemRequest item, int itemIndex, Map<
548548
var slot = ensureResponseAccumulatorSlot(itemIndex);
549549
final List<String> values;
550550
try {
551-
// TODO: Test this bug and factor out fix into separate PR
552-
values = SemanticTextUtils.nodeStringValues(sourceField, valueObj);
551+
values = SemanticTextUtils.nodeStringValues(field, valueObj);
553552
} catch (Exception exc) {
554553
addInferenceResponseFailure(itemIndex, exc);
555554
break;

0 commit comments

Comments
 (0)