mirror of https://github.com/apache/cloudstack.git
This fixes a null pointer if selected pool on which to deploy is unable to be looked up via id. Used the same coding style found in the original code (large if/else block). If this is accepted, I'll fix master too. This patch doesn't apply cleanly, but the code is very similar. Testing: Fixed broken system, tested against devcloud to ensure that it didn't break a stock/fresh install (advanced zone with 3 storage pools). Restarted VMs to ensure that the planner still functioned that way as well. Signed-off-by: Chip Childers <chip.childers@gmail.com> |
||
|---|---|---|
| .. | ||
| conf | ||
| resources/com/cloud/upgrade | ||
| scripts | ||
| src | ||
| test | ||
| pom.xml | ||