mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
allocate _poolIds before use
This commit is contained in:
parent
0f8da4093d
commit
e736919494
@ -100,6 +100,9 @@ public interface DeploymentPlanner extends Adapter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void addPool(long poolId) {
|
public void addPool(long poolId) {
|
||||||
|
if (_poolIds == null) {
|
||||||
|
_poolIds = new HashSet<Long>();
|
||||||
|
}
|
||||||
_poolIds.add(poolId);
|
_poolIds.add(poolId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user