mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +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) {
|
||||
if (_poolIds == null) {
|
||||
_poolIds = new HashSet<Long>();
|
||||
}
|
||||
_poolIds.add(poolId);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user