File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
quickwit/quickwit-serve/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ pub(crate) async fn elastic_bulk_ingest_v2(
123
123
)
124
124
} ) ?;
125
125
126
- // Validate index id early because propagating back the right error (400)
126
+ // Validate index ID early because propagating back the right error (400)
127
127
// from deeper ingest layers is harder
128
128
if validate_identifier ( "" , & index_id) . is_err ( ) {
129
129
let invalid_item = make_invalid_index_id_item ( index_id. clone ( ) , meta. es_doc_id ) ;
Original file line number Diff line number Diff line change @@ -215,11 +215,11 @@ async fn ingest_v2(
215
215
None
216
216
} ;
217
217
218
- // Validate index id early because propagating back the right error (400)
218
+ // Validate index ID early because propagating back the right error (400)
219
219
// from deeper ingest layers is harder
220
220
if validate_identifier ( "" , & index_id) . is_err ( ) {
221
221
return Err ( IngestServiceError :: BadRequest (
222
- "invalid index_id " . to_string ( ) ,
222
+ "invalid index ID " . to_string ( ) ,
223
223
) ) ;
224
224
}
225
225
You can’t perform that action at this time.
0 commit comments