We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0859d5 commit 41c662dCopy full SHA for 41c662d
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/ComputeListener.java
@@ -76,8 +76,9 @@ ActionListener<Void> acquireAvoid() {
76
ActionListener<ComputeResponse> acquireCompute() {
77
return acquireAvoid().map(resp -> {
78
responseHeaders.collect();
79
- if (resp != null && resp.getProfiles().isEmpty() == false) {
80
- collectedProfiles.addAll(resp.getProfiles());
+ var profiles = resp.getProfiles();
+ if (profiles != null && profiles.isEmpty() == false) {
81
+ collectedProfiles.addAll(profiles);
82
}
83
return null;
84
});
0 commit comments