Skip to content

Commit 1aae75a

Browse files
committed
fix compilation
1 parent 54ed9c5 commit 1aae75a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/action/EsqlQueryResponseProfileTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
public class EsqlQueryResponseProfileTests extends AbstractWireSerializingTestCase<EsqlQueryResponse.Profile> {
2222
@Override
2323
protected Writeable.Reader<EsqlQueryResponse.Profile> instanceReader() {
24-
return EsqlQueryResponse.Profile::new;
24+
return EsqlQueryResponse.Profile::readFrom;
2525
}
2626

2727
@Override

0 commit comments

Comments
 (0)