Skip to content

Commit

Permalink
Build fix.
Browse files Browse the repository at this point in the history
Signed-off-by: Swetha Guptha <gupthasg@amazon.com>
  • Loading branch information
Swetha Guptha committed Oct 21, 2024
1 parent 8c0d4f5 commit c5621f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public class ClusterStatsNodes implements ToXContentFragment {
if (!seenAddresses.add(inetAddress)) {
continue;
}
if (requestedMetrics.contains(ClusterStatsRequest.Metric.FS) != null && nodeResponse.nodeStats().getFs() != null) {
if (requestedMetrics.contains(ClusterStatsRequest.Metric.FS) && nodeResponse.nodeStats().getFs() != null) {
this.fs.add(nodeResponse.nodeStats().getFs().getTotal());
}
}
Expand Down

0 comments on commit c5621f1

Please sign in to comment.