|
@@ -809,7 +809,7 @@ class MlMemoryAutoscalingDecider {
|
|
MlMemoryAutoscalingCapacity scaleDownResult,
|
|
MlMemoryAutoscalingCapacity scaleDownResult,
|
|
MlMemoryAutoscalingCapacity currentCapacity
|
|
MlMemoryAutoscalingCapacity currentCapacity
|
|
) {
|
|
) {
|
|
- if (scaleDownResult == null || currentCapacity == null) {
|
|
|
|
|
|
+ if (scaleDownResult == null || currentCapacity == null || currentCapacity.isUndetermined()) {
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
MlMemoryAutoscalingCapacity newCapacity = MlMemoryAutoscalingCapacity.builder(
|
|
MlMemoryAutoscalingCapacity newCapacity = MlMemoryAutoscalingCapacity.builder(
|