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 bfb30d2 commit 4b0221dCopy full SHA for 4b0221d
x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/autoscaling/MlMemoryAutoscalingDecider.java
@@ -259,7 +259,7 @@ public MlMemoryAutoscalingCapacity scale(
259
.map(result -> {
260
MlMemoryAutoscalingCapacity capacity = ensureScaleDown(
261
result,
262
- MlMemoryAutoscalingCapacity.from(context.currentCapacity()).build()
+ context.currentCapacity() == null ? null : MlMemoryAutoscalingCapacity.from(context.currentCapacity()).build()
263
);
264
if (capacity == null) {
265
return null;
0 commit comments