Skip to content

Commit ed68dfb

Browse files
iAMSagar44tzolov
authored andcommitted
Correct grammar for a message to be thrown as part of an exception when the document was not uploaded successfully (part of the 'add' method).
1 parent 6030db1 commit ed68dfb

File tree

1 file changed

+1
-1
lines changed
  • vector-stores/spring-ai-azure/src/main/java/org/springframework/ai/vectorstore/azure

1 file changed

+1
-1
lines changed

vector-stores/spring-ai-azure/src/main/java/org/springframework/ai/vectorstore/azure/AzureVectorStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public void add(List<Document> documents) {
233233

234234
for (IndexingResult indexingResult : result.getResults()) {
235235
Assert.isTrue(indexingResult.isSucceeded(),
236-
String.format("Document with key %s upload is not successfully", indexingResult.getKey()));
236+
String.format("Document with key %s did not upload successfully", indexingResult.getKey()));
237237
}
238238
}
239239

0 commit comments

Comments
 (0)