提交 f2500bd5 编写于 作者: S Stephen Connolly 提交者: Oliver Gondža

The call to PlannedNode.spent() *must* always occur

- They have been removed from the pendingLaunches, so once we leave this method we have no reference to them
- Arguably the call to spent should take place when removing from the pendingLaunches, but that would change
  the method contract

(cherry picked from commit 252e1296)
上级 fea12f76
......@@ -250,9 +250,9 @@ public class NodeProvisioner {
for (CloudProvisioningListener cl : CloudProvisioningListener.all()) {
cl.onFailure(f, e);
}
} finally {
f.spent();
}
f.spent();
}
float plannedCapacity = plannedCapacitySnapshot;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册