File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
server/src/test/java/org/elasticsearch/action/bulk Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ public void onFailure(Exception e) {
378378 IndexMetadata imd = invocation .getArgument (0 );
379379 if (indicesWithInvalidMappings .contains (imd .getIndex ().getName ())
380380 // We only want to throw exceptions inside TransportSimulateBulkAction:
381- && invocation .getArgument (1 ).getClass ().getSimpleName ().contains (" TransportSimulateBulkAction" )) {
381+ && invocation .getArgument (1 ).getClass ().getSimpleName ().contains (TransportSimulateBulkAction . class . getSimpleName () )) {
382382 throw new ElasticsearchException ("invalid mapping" );
383383 } else {
384384 // we don't actually care what is returned, as long as no exception is thrown the request is considered valid:
You can’t perform that action at this time.
0 commit comments